+ Post New Thread
Page 1 of 40 1 2 3 11 ... LastLast
Threads 1 to 25 of 978

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,485
    2nd Jul 2010 09:01 am Go to last post
  1. 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‎, Yesterday 11:46 am
    • Replies: 2
    • Views: 116
    Yesterday 08:09 pm Go to last post
  2. 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: 372
    Yesterday 12:31 pm Go to last post
  3. 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‎, Yesterday 10:11 am
    • Replies: 0
    • Views: 45
    Yesterday 10:11 am Go to last post
  4. 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: 55
    13th Jul 2018 01:32 pm Go to last post
  5. 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: 76
    12th Jul 2018 05:19 pm Go to last post
  6. 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: 79
    10th Jul 2018 11:50 am Go to last post
  7. 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: 139
    1st Jul 2018 05:56 pm Go to last post
  8. 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: 260
    18th Jun 2018 11:33 pm Go to last post
  9. 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: 205
    14th Jun 2018 10:06 am Go to last post
  10. 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: 1
    • Views: 342
    30th May 2018 09:16 pm Go to last post
  11. 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: 221
    23rd May 2018 12:04 pm Go to last post
  12. 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,225
    19th May 2018 01:15 am Go to last post
  13. 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: 300
    9th May 2018 07:11 pm Go to last post
  14. 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: 562
    1st May 2018 11:43 pm Go to last post
  15. 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: 568
    24th Mar 2018 03:50 pm Go to last post
  16. 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: 465
    20th Mar 2018 11:41 am Go to last post
  17. Drawing Userform Drop down in VBA

    Hi Guys I'm Newbie here for VBA, Actually I'm trying to create one Userform in VBA, in that form i have 4 text box, Textbox 1 having List of Names in Dropdown, rest of the text boxes values...

    Started by acad1985‎, 8th Mar 2018 12:46 am
    • Replies: 4
    • Views: 610
    11th Mar 2018 09:22 am Go to last post
  18. Extrude Xref file

    Hi, I want to attach an Xref file into a drawing (which contains a region), and use it for extrude operation. After doing this, if I am modifying the region from the original dwg. file it will...

    Started by ghimpster‎, 8th Feb 2018 02:05 pm
    • Replies: 1
    • Views: 731
    13th Feb 2018 10:13 am Go to last post
  19. Auto cad --> excel

    hi I need the help.that, how can i get the polyline length/area in a excel sheet automatically.. Because, when i am taking the area/length measurement by polyline, i have to copy from the list...

    Started by jackseel‎, 25th Feb 2007 02:44 pm
    4 Pages
    1 2 3 ... 4
    • Replies: 30
    • Views: 11,818
    9th Feb 2018 06:16 pm Go to last post
  20. Table SetAutoScale & SetAutoScale2

    Dear all, I need support for an issue with table. I have a table composed by 70 rows and 12 columns, Rows height and columns width has been settled before as preliminary, when table being inserted...

    Started by PeterPan9720‎, 23rd Jan 2018 07:39 pm
    cells, setautoscale, setautoscale2, table
    • Replies: 1
    • Views: 793
    1st Feb 2018 09:12 pm Go to last post
  21. Smile Create file & Run the code

    Can anyone show me with an screencast how to create vb file & run the code Private Sub CommandButtonSmooth_Click() Dim sset As AcadSelectionSet Dim v(0) As Variant Dim lifiltertype(0) As Integer...

    Started by sivapathasunderam‎, 21st Jan 2018 09:43 am
    join polyline, vba programming
    • Replies: 3
    • Views: 636
    23rd Jan 2018 03:04 am Go to last post
  22. Work with DWGproperties (windows)

    This video caught my attention. Seems very practical. How can this be made available for 2018? http://www.screencast.com/t/qtAblRYW

    Started by halam‎, 21st Jan 2018 10:59 pm
    • Replies: 0
    • Views: 466
    21st Jan 2018 10:59 pm Go to last post
  23. Using VB.Net, Redefine a block

    Wondering if anyone has code, or know of an example I can start from, to redefine a block. I use the words "redefine", because that is what AutoCAD asks me when I try to reinsert the same block that...

    Started by bigr1822‎, 5th Jan 2018 09:38 pm
    • Replies: 0
    • Views: 1,005
    5th Jan 2018 09:38 pm Go to last post
  24. Using a Form Button to run a Mycommands Class Method

    The following procedure works in the command class to change dimstyle variables. I can used the command DimStyleChange to change dim style variables. // public static void...

    Started by muck‎, 30th Dec 2017 03:05 pm
    • Replies: 0
    • Views: 780
    30th Dec 2017 03:05 pm Go to last post
  25. <.NET>how to make .DLL run all Version Cad

    Hi :):):). i just learn .net...and create some example connect Excel and Cad. i use VS2012 and cad2016. i build code to .DLL but it use only cad2016. it can not run cad2018 hope to explain for me...

    Started by thothongcong‎, 2nd Nov 2017 03:19 pm
    • Replies: 1
    • Views: 2,792
    4th Nov 2017 12:51 pm 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