1. Announcement:
    Forum upgrade and temporary closure
    CADTutor ‎(Administrator)
    10th Aug 2018
+ Post New Thread
Page 1 of 40 1 2 3 11 ... LastLast
Threads 1 to 25 of 986

Forum: .NET, ObjectARX & VBA

Use this forum to discuss all application interfaces (APIs) other than LISP.

  1. FAQ Article Sticky Thread Sticky: Code Posting Guidelines

    Code posting guidelines When you are posting AutoLISP or VBA code in these forums, there are some simple guidellines you should observe in order to make life easier for you and for others. ...

    Started by CADTutor‎, 2nd Jul 2010 09:01 am
    • Replies: 0
    • Views: 10,546
    2nd Jul 2010 09:01 am Go to last post
  1. Help needed to accomplish certain functions

    Hello Guys I need help with my project :) I attached the project so that you can review it and understand what I am asking for :) So far I managed to make a VBA file that can do the following: 1-...

    Started by warlock-993‎, 8th Aug 2018 01:17 am
    • Replies: 7
    • Views: 202
    11th Aug 2018 02:50 am Go to last post
  2. Love iterate all lines and texts in a drawing

    hi everyboy i need a vba code to do these jobs for me: 1-iterate all text elements in the drawing with respected coordinations and color 2-iterate all line elements with startpoint, endpoint and...

    Started by snatnegar‎, 8th Aug 2018 07:38 pm
    • Replies: 0
    • Views: 74
    8th Aug 2018 07:38 pm Go to last post
  3. Attached: VBA application for drawing ducts and pipes

    Hi, all! Working in the sphere of HVAC I developed an AutoCad VBA application for drawing ducts. I've been adding some features during the last months and I always use it when it comes to duct...

    Started by Joro--‎, 2nd Aug 2009 08:07 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 38
    • Views: 37,093
    8th Aug 2018 11:16 am Go to last post
  4. Help! Call Lisp vlax-curve-getPointAtDist from VBA

    Hello Anybody Help. I need to get point from spline with use lisp function in autocad vba vlax-curve-getPointAtDist Could somebody can help me?

    Started by joe2456‎, 6th Aug 2018 02:33 pm
    lisp, vba, vlax-curve-getpointatdist
    • Replies: 5
    • Views: 120
    7th Aug 2018 11:36 am Go to last post
  5. VBA - Insert blocks made of blocks with attributes, explode, then edit Attributes

    I have a drawing my company wants me to automate. I'm using AutoCAD Electrical 2017, and have created some blocks containing 2 or three blocks with attributes. I have created several forms to get...

    Started by Munters‎, 3rd Aug 2018 03:52 pm
    • Replies: 2
    • Views: 129
    6th Aug 2018 02:29 pm Go to last post
  6. Question Excel to Autocad

    Hello, I want to create a standard drawing (example a rectangle with the dimensions of length and width), but the values ​​of the dimensions should be obtained in a result of a formula of an excel...

    Started by Robson‎, 4th Aug 2018 08:02 pm
    • Replies: 0
    • Views: 53
    4th Aug 2018 08:02 pm Go to last post
  7. C# setting HPNAME not working

    I'm trying to update a few system variable in C# based on what button a user selects. I'm having some issues with the HPNAME system variable. I set the variables like this:...

    Started by pwned555‎, 28th May 2018 11:52 pm
    c# vs, civil 3d 2019, system variables
    • Replies: 2
    • Views: 456
    3rd Aug 2018 12:51 am Go to last post
  8. Star Convert Autocad VBA code to VB.net

    Dear all, I am using many VBA code for autocad drafting works in dvb file. But now i want convert these all autocad VBA code to VB.Net Please can any one help good way to do....:)

    Started by smuthuc‎, 27th Jul 2018 08:08 am
    • Replies: 0
    • Views: 168
    27th Jul 2018 08:08 am Go to last post
  9. AutoCAD VBA Project

    Hi I am a student trying to make some steps in my project according to what I saw in some YouTube videos that programmer can control the Layers properties to count the total length (Line &...

    Started by Eman Al Badawi‎, 22nd Jul 2018 01:14 pm
    • Replies: 3
    • Views: 256
    24th Jul 2018 08:15 pm Go to last post
  10. Get bounding box from EXCEL

    Hello, I am trying to get the bounding box for all entities on a layer. I would like to be able to do this from EXCEL. I tried to modify an AutoCAD VBA routine that works in the AutoCAD VBA to...

    Started by katto01‎, 16th Jul 2018 02:02 pm
    • Replies: 1
    • Views: 168
    17th Jul 2018 04:29 am Go to last post
  11. Star VBA Code not working

    Please the below VBA code not working please correct this one Public Sub Draw_Bpoly() Dim p As Variant p = ThisDrawing.Utility.GetPoint(, "First the Point:") Dim p1(1) As Double p1(0) =...

    Started by smuthuc‎, 14th Jul 2018 11:46 am
    • Replies: 5
    • Views: 334
    16th Jul 2018 11:34 am Go to last post
  12. Boundary vba

    hi all, how can i use Boundary command in vba after Getpoint inside a polyline?? i use lisp code : (setq Point (getpoint)) (command "boundary" point "") and i write same code in vba, but it...

    Started by amir0914‎, 23rd Apr 2018 10:42 am
    • Replies: 2
    • Views: 460
    14th Jul 2018 12:31 pm Go to last post
  13. Smile VBA Code for Lisp

    Please Any one could you convert this Lisp to VBA (defun c:BND (/ pt) (while (setq pt (getpoint "\nPick internal point: ")) (command "_.-boundary" "_a" "_i" "_n" "" "" "_non" pt "") )...

    Started by smuthuc‎, 14th Jul 2018 10:11 am
    • Replies: 0
    • Views: 105
    14th Jul 2018 10:11 am Go to last post
  14. Star VBA Code for Bpoly command

    How could i use Bpoly command by VBA code. i used Thisdraing.sendingcommand "_Bpoly" & vbcr. but the Boundary creation box i dont want. i want that ok button piking also i want to write in vba. ...

    Started by smuthuc‎, 13th Jul 2018 01:32 pm
    • Replies: 0
    • Views: 113
    13th Jul 2018 01:32 pm Go to last post
  15. Move Command Error

    Hello, I am trying to make a script that will move items for me. I am importing anywhere from 2 to 9 drawings as Xrefs, then running this VBA script to move them based on the sheet number to a...

    Started by wharris1996‎, 12th Jul 2018 05:07 pm
    • Replies: 1
    • Views: 129
    12th Jul 2018 05:19 pm Go to last post
  16. Looking for a "Getting Started" tutorial on .Net and Autocad

    There used to be a page on Autodesk website that went through starting with .Net for AutoCAD. That link is dead. Does anyone else have any other resources? ...

    Started by guitarguy1685‎, 10th Jul 2018 02:47 am
    • Replies: 1
    • Views: 129
    10th Jul 2018 11:50 am Go to last post
  17. Excel interface

    Please somebody can help me in a little issue ? I'm trying to have an excel interface in order to write some drawing blocks attribute excration. Here below code: Dim NUOVA_ISTANZA As Object...

    Started by PeterPan9720‎, 1st Jul 2018 05:56 pm
    excel to autocad
    • Replies: 0
    • Views: 207
    1st Jul 2018 05:56 pm Go to last post
  18. VBA - Add style to Text

    Hello, I have this routine to add text in AutoCAD. I was wondering if I could set the font size, type and color. Could not find any reference to this. Thank you Public Sub AddMyTextHeight(xx,...

    Started by katto01‎, 18th Jun 2018 06:03 pm
    • Replies: 2
    • Views: 325
    18th Jun 2018 11:33 pm Go to last post
  19. VBA change layers

    Hello, I am trying unsuccessfuly to switch layers from EXCEL. This is my code: Please advise Thanks Public Sub MISKO()

    Started by katto01‎, 13th Jun 2018 12:16 pm
    excel in autocad, layer change
    • Replies: 2
    • Views: 286
    14th Jun 2018 10:06 am Go to last post
  20. Autocad Mechanical - ampoweredit VBA manage Dialog window

    Hi to all, please somebody know how to manage the ampoweredit functionality and related dialog windows by VBA personalizzation ?

    Started by PeterPan9720‎, 23rd May 2018 12:04 pm
    ampoweredit, vba
    • Replies: 0
    • Views: 288
    23rd May 2018 12:04 pm Go to last post
  21. AutoCAD Title Block from EXCEL VBA

    Hi All, I am trying to write a VBA script that will run from inside an Excel spread sheet to update the title block fields from values in the spreadsheet. I have been able to use ATTOUT to...

    Started by JGupte‎, 21st Aug 2017 03:51 am
    4 Pages
    1 2 3 ... 4
    • Replies: 34
    • Views: 6,672
    19th May 2018 01:15 am Go to last post
  22. get coordinates from model space to paperspace vb.NET

    hello, i am pretty new at vb.net and i am stucked at converting coordinates from model space to paper space, so please help at this. Actually i need some examples how to get coordinates from model...

    Started by Wiktuors‎, 9th May 2018 07:11 pm
    coordinates, modelspace, paperspace, transform
    • Replies: 0
    • Views: 370
    9th May 2018 07:11 pm Go to last post
  23. Referencing an offset object

    Good Night All. I want to reference an object after it has been created but I am unsuccessful. can anyone guide me how to achieve this objective? Here is the code that I used. I want to ...

    Started by greneebb‎, 27th Apr 2018 06:45 pm
    • Replies: 6
    • Views: 685
    1st May 2018 11:43 pm Go to last post
  24. How will you simulate a mouse click?

    i am new on Autocad VBA, i found this code somewhere.. thsa what i need but i want to change the SelectOnScreen part.. Here's the code: Public Sub LineDetail() Dim oSS As AcadSelectionSet ...

    Started by ktbjx‎, 24th Mar 2018 03:50 pm
    • Replies: 0
    • Views: 640
    24th Mar 2018 03:50 pm Go to last post
  25. Transfer ObjectId[] idArray between methods in class

    How can idArray passed made to be used in another method or event in the same class after the above code is ran? placing "public static ObjectId idArray;" in the form general area does not work...

    Started by muck‎, 16th Mar 2018 01:59 pm
    • Replies: 1
    • Views: 543
    20th Mar 2018 11:41 am Go to last post

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 250 views
Hot thread with unread posts
More than 15 replies or 250 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts