+ Post New Thread
Page 1 of 39 1 2 3 11 ... LastLast
Threads 1 to 25 of 965

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,303
    2nd Jul 2010 09:01 am Go to last post
  1. 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: 346
    24th Mar 2018 03:50 pm Go to last post
  2. 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: 243
    20th Mar 2018 11:41 am Go to last post
  3. 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: 372
    11th Mar 2018 09:22 am Go to last post
  4. 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: 540
    13th Feb 2018 10:13 am Go to last post
  5. 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: 10,999
    9th Feb 2018 06:16 pm Go to last post
  6. 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: 605
    1st Feb 2018 09:12 pm Go to last post
  7. 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: 418
    23rd Jan 2018 03:04 am Go to last post
  8. 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: 300
    21st Jan 2018 10:59 pm Go to last post
  9. 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: 818
    5th Jan 2018 09:38 pm Go to last post
  10. 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: 476
    30th Dec 2017 03:05 pm Go to last post
  11. <.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,539
    4th Nov 2017 12:51 pm Go to last post
  12. Idea Printing Customization

    Hi All, I need help in customizing printing cad files actually in my case single drawing would have multiple sheets in single model space so it will have multiple title block is...

    Started by selvamani‎, 30th Aug 2017 06:50 pm
    • Replies: 3
    • Views: 1,355
    25th Oct 2017 05:04 am Go to last post
  13. [Plz Help] how to make new object in autocad!!!

    i have 2 picture: pic N.1: i select object and press Ctrl +1 ( tad property) show is : "No Selection" ????:unsure::unsure::unsure: pic N.2 : i copy it and use command Explore -----> in tab property...

    Started by thothongcong‎, 10th Oct 2017 08:23 am
    • Replies: 3
    • Views: 2,075
    23rd Oct 2017 09:25 pm Go to last post
  14. Question Switching to another drawing in a running VBA session

    My VBA application requires info from one drawing to be used in another one in the same VBA running session. I need to ALIGN one drawing based upon 3 3D points from another draiwng automatically....

    Started by ArjenB‎, 7th Oct 2017 03:21 pm
    switching drawings, vba
    • Replies: 3
    • Views: 920
    9th Oct 2017 06:14 pm Go to last post
  15. Why is there an end of statement & expression expected

    I've been using this code for years, and on the new SDK it now throws an end of statement expected and expression expected error. I'm not sure why this is now an issue whereas it hasn't been or how...

    Started by WPerciful‎, 3rd Oct 2017 11:14 am
    • Replies: 3
    • Views: 1,236
    9th Oct 2017 05:50 pm Go to last post
  16. Down load Visual Studio editions for AutoCAD

    Is there a website I can download VS expression additions for AutoCAD. All I can find on MS website is VS 2017. I need VS 2015 for Autocad. Thank you,

    Started by muck‎, 13th Sep 2017 01:41 pm
    • Replies: 8
    • Views: 3,419
    26th Sep 2017 12:16 am Go to last post
  17. List of intersection lines

    Hello I know that ı am able to find a point where two lines are intersected eachother with this command '"object1.IntersectWith(IntersectObjects, ExtendOption)" Dim mainLine As...

    Started by ursan‎, 27th Aug 2017 02:47 pm
    2 Pages
    1 2
    • Replies: 14
    • Views: 2,729
    10th Sep 2017 06:11 pm Go to last post
  18. PromptSelectionResult not working correctly

    hi guys my app code in following. i want to find blockreference in between two points. when i zoom extent working correct. bu i change zoom in autocad result incorrect. i added screenshot. i use...

    Started by ursan‎, 9th Sep 2017 10:36 am
    • Replies: 0
    • Views: 309
    9th Sep 2017 10:36 am Go to last post
  19. Bounding Box for Selection Set

    What would be the best way to get a bounding box for a selection set in VBA? Google found a LISP routine that can do it, but it has been years since I have used LISP I was thinking someone here...

    Started by abraxus‎, 27th Sep 2013 12:18 am
    • Replies: 7
    • Views: 6,090
    6th Sep 2017 04:35 pm Go to last post
  20. vba macro to move all red elements in the drawing to one layer

    Hi All, In the drawing, there are a lot of element in diffrent colors and all are in layer 0. How do I do a vba macro to move all red elements in the drawing to one layer, for example to an...

    Started by johanlang‎, 4th May 2017 01:18 pm
    • Replies: 5
    • Views: 3,549
    30th Aug 2017 05:22 pm Go to last post
  21. VBA - How to delete all lines on a layer

    Hello, Q1. I am not sure how to do this. I have hundreds of lines on a layer that I need to delete. I need to do this in VBA. I do not want to use a selection. just simply delete all lines on...

    Started by katto01‎, 1st Mar 2017 01:51 pm
    • Replies: 8
    • Views: 3,376
    29th Aug 2017 04:35 pm Go to last post
  22. How to find the exploded blocks

    How to find the exploded blocks

    Started by MTTLP‎, 26th Aug 2017 08:40 pm
    • Replies: 9
    • Views: 1,480
    29th Aug 2017 06:50 am Go to last post
  23. 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: 33
    • Views: 4,997
    28th Aug 2017 03:02 am Go to last post
  24. VBA - information on selection

    Hello, Q1: How do I get the number of entities in a selection using VBA? Q2: What is the command/method to find the type of each entity in a selection using VBA? Thank you

    Started by katto01‎, 17th Aug 2017 06:21 pm
    object type, selection
    • Replies: 4
    • Views: 1,493
    18th Aug 2017 08:42 pm Go to last post
  25. Batch Script / VBA - 512 Drawings

    Hi guys, first of all thanks for taking the time to ready my post. Life is busy but so many people out there make a real effort to help other people and I really appreciate it. Secondly, I've got...

    Started by kurlytoenail‎, 9th Aug 2017 05:29 pm
    2 Pages
    1 2
    • Replies: 10
    • Views: 2,077
    18th Aug 2017 03:00 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