Use this forum to discuss all application interfaces (APIs) other than LISP.
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. ...
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...
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 ...
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...
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...
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...
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...
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...
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...
This video caught my attention. Seems very practical. How can this be made available for 2018? http://www.screencast.com/t/qtAblRYW
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...
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...
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...
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...
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...
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....
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...
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,
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...
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...
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...
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...
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...
How to find the exploded blocks
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...
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
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.
Forum Rules