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

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: 9,458
    2nd Jul 2010 09:01 am Go to last post
  1. 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: 7
    • Views: 403
    17th Sep 2017 02:58 pm Go to last post
  2. 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: 737
    10th Sep 2017 06:11 pm Go to last post
  3. 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: 35
    9th Sep 2017 10:36 am Go to last post
  4. 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: 4,096
    6th Sep 2017 04:35 pm Go to last post
  5. 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: 2
    • Views: 203
    31st Aug 2017 03:18 am Go to last post
  6. 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: 1,198
    30th Aug 2017 05:22 pm Go to last post
  7. 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: 1,797
    29th Aug 2017 04:35 pm Go to last post
  8. How to find the exploded blocks

    How to find the exploded blocks

    Started by MTTLP‎, 26th Aug 2017 08:40 pm
    • Replies: 9
    • Views: 416
    29th Aug 2017 06:50 am Go to last post
  9. 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: 952
    28th Aug 2017 03:02 am Go to last post
  10. 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: 392
    18th Aug 2017 08:42 pm Go to last post
  11. 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: 658
    18th Aug 2017 03:00 am Go to last post
  12. Exclude from macro a specific area of drawing

    Is it possible to exclude from a vba macro for Autocad a specific region? For example, apply this macro not to all modelspace but only to a part (which has not lines as boundaries but defined only by...

    Started by ElCidCampeador‎, 31st Jul 2017 09:56 am
    area, modelspace, vba
    • Replies: 2
    • Views: 518
    3rd Aug 2017 11:04 am Go to last post
  13. Update Custom Property Value

    I have searched quite a bit for this with no avail. I am trying to update the value of pre-existing custom properties in a drawing using .net. I can get the current value with ease, but updating it...

    Started by Commandobill‎, 31st Jul 2017 06:45 pm
    • Replies: 1
    • Views: 364
    31st Jul 2017 07:29 pm Go to last post
  14. VBA Autocad: How to find lines?

    I'm trying to write a VBA code that searches in a general drawing all lines that have a specific length and slope. Then, every time it finds that line in the drawing, it will write next to a specific...

    Started by ElCidCampeador‎, 25th Jul 2017 03:26 pm
    find, line, search, vba
    • Replies: 6
    • Views: 572
    31st Jul 2017 09:47 am Go to last post
  15. Recognize multi-object shape

    Hi, I converted a pdf file into dwg. In this new file a point has become a group of 2D polyline and not a sigle entity. This conversion is necessary because I have to work in autocad. My...

    Started by ElCidCampeador‎, 27th Jul 2017 08:51 am
    • Replies: 9
    • Views: 607
    28th Jul 2017 09:24 am Go to last post
  16. AutoCAD VBA - count hatch areas

    Hello, I would like to write a procedure (function) which will show how many hatch areas are on the drawing. For example: I have drawing which has 3 objects (2 rectangulars and 1 circle - all in...

    Started by avagorn‎, 15th Jun 2017 01:39 pm
    • Replies: 7
    • Views: 2,127
    10th Jul 2017 03:38 am Go to last post
  17. Unhappy Set "More Option" for "Modify Excel Link" (.NET)

    Hi. I'm trying to modify option of Datalink in Autocad using .NET How to adjust as shown in the picture. This is my code: private void btn_Data_Click(object sender, EventArgs e) {...

    Started by avi612‎, 29th Jun 2017 06:45 pm
    • Replies: 1
    • Views: 794
    29th Jun 2017 06:53 pm Go to last post
  18. AutoCAD Plot issues with VBA

    Hey everyone. I am working on a vba plot tool that I am having a few issues with. I was having trouble setting the paper size and after a ton of searching I found the "blad" section of coding...

    Started by jonathann3891‎, 28th Jun 2017 03:41 pm
    vba plot
    • Replies: 0
    • Views: 401
    28th Jun 2017 03:41 pm Go to last post
  19. Question distance and elevation routine

    Hi guys, Long time ago ,I have written this lisp routine, This routine inputs a reference points coordinates, elevation and distance values from screen. It calculates several new points elevation...

    Started by ybilgen‎, 14th Jun 2017 09:26 pm
    distance, elevation, vba autocad
    • Replies: 2
    • Views: 651
    16th Jun 2017 04:00 am Go to last post
  20. Is changing pipe label styles in VBA possible?

    Just like the title says, since I'm able to change the pipe style, I'm wondering if I'm able to change the pipe's label style as well in VBA. It seems like I can read the style name, but I can't seem...

    Started by thereisnotime‎, 12th Jun 2017 04:27 pm
    • Replies: 0
    • Views: 428
    12th Jun 2017 04:27 pm Go to last post
  21. Unhappy VBA datestamp problem

    Ladies and Gents, if someone would please be so kind to take a look at the Vb file and tell me how to fix my problem, I sure would appreciate it. Problem: If you don't set up your border...

    Started by notredave‎, 31st May 2017 10:27 pm
    • Replies: 1
    • Views: 994
    1st Jun 2017 04:34 am Go to last post
  22. Excel VBA - Autocad

    Do you guys know of any good Autocad-Excel-VBA Developers that could right me a program/script or whatnot? Basically I would like to type it part numbers of individual components into a excel...

    Started by prophici‎, 19th May 2017 07:58 pm
    • Replies: 6
    • Views: 1,838
    29th May 2017 09:42 pm Go to last post
  23. Visual Studio express download for AutoCAD 2018?

    What version of Visual Studio works with AutoCAD 2018 and where can it be download. Hopefully an free express edition. Thank you,

    Started by muck‎, 28th May 2017 02:39 pm
    • Replies: 1
    • Views: 868
    29th May 2017 12:17 pm Go to last post
  24. AttipEdit command with C sharp, VB.net or lisp?

    Is there an C sharp, VB.net or lisp routine that is equivlent to the Attipedit command? The AttipEdit command allows a user to select an attribute in a block reference and directly edit it. ...

    Started by muck‎, 11th May 2017 01:40 pm
    • Replies: 1
    • Views: 1,058
    12th May 2017 04:04 am Go to last post
  25. Openning a DWG file from Excel causes AutoCAD window to be resized

    Hi all, I have an Excel sheet containing hyperlinks to some *.dwg files stored somewhere on a network drive (each CELL in Excel document has been hyperlinked to a *.dwg file). The annoying...

    Started by bababarghi‎, 3rd May 2017 05:28 am
    • Replies: 3
    • Views: 860
    4th May 2017 02:19 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