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. ...
can somebody post some sample code or guidlines on how to position an attribute in a block constructed in VB.Net? I am making a block comprising a triangle (pline - -6,0:6,0:0,10 & close) and an...
I have a table in AutoCAD Architecture 2013. If I click in a cell, acad highlights the cell with extremely thick borders, as shown in the image below. I guess this was because of the table...
Hi I have this code; Sub selectABlockOnALayer() Dim sset As AcadSelectionSet Set sset = ThisDrawing.SelectionSets.Add("EXCEPTIONS-BLOCK3") Dim filterType As Variant Dim...
Forget all the DeepCloning, I've whittled it down to the DBText.Position point doesn't seem to work as advertised: The text doesn't move to 0,0,0. public void copyEnt() { Document doc =...
Our drawings are named using incremental numbers, <proj><area><type><numerical series><sheet number>. I have a VBA routine that opens the next sequential drawing firstly incrementing the sheet...
Hi All, Iam trying to get object data table name of selected Entity through VBA. plz help me Thanks in advance
under company recommendations I have un installed Acad 2011 and installed Acad 2013. It was generally less painful than normal until I tried to use my recenly compiled toolbar. None of the commands...
hopefully a simple question.... I want to display a non modal form for about 10 seconds to confirm something has been done. At the moment I have.. PublicClassPlotList_form PrivateSub...
If you have been following my "upgrade" thread you will know until this week I used Visual Basic Express 2008 to build my first routine for use with AutoCAD 2011. This week I am using AutoCAD 2013...
Hi All, I am using VBA to insert multiple (500+) blocks with a field inside that splits the insertion point of the block into a northing and easting. Unfortunately, after all the blocks are...
Hello all, I am trying to create a simple dll to call it from acad2010 and present a hello world message but things are getting funky... code: Imports Autodesk.AutoCAD.Runtime Imports...
I used to have a routine in VB6 that would create a dll to hold a series of icons that could be used on AutoCAD toolbars. (Of course I have forgotten how to do this.) Along similar lines is it...
I am trying to read superelevation data from Civil 3D 2012 by VBA, but it is not successful, I think the problem is establishing reference for Superelevation only for Civil 3D 2012. Maybe...
hello, I am trying to clean up some old drawings. Among other things, I would need a routine (in VBA) that would get the list of all objects in a drawing and all their properties. Please advise...
I'm not really sure how to phrase the question so here is my "problem". I have a batch plot builder written in VB6. The main area of interest for now is a list box where the name of files to be...
Hi all, I need to use trim and boundary command in VBA..But the entities should be passed from code to the command. (i.e) selection of entities for trimming and the portion to be trimmed off...
Hi all, I am getting this error: "Autocad is unable to service automation request" when running this code: Me.hide ThisDrawing.Activate ThisDrawing.Utility.InitializeUserInput 1, "choices"...
I created a drawing that varies hole spacing on a peice of angle iron using parameters,but it would be very beneficial to incorporate if-then statements to control the value of some of parameters...
Hi all, I have a task of numbering polygons which are inside another polygon from left to right order.there may be any number of rows of polygons in a big polygon.Need to number from top left to...
What a long title. I am hopeing this is a simple problem and I have just overlooked the obvious. However, continuing from my other posts you know I am trudging my way through VB.Net with the help of...
I am confused (not for the first time). I need to select all the text on a particular layer. In VBA I made my selection set as follows Set mySelSet =...
I am currently recompiling code to be compatible with AutoCAD 2013. The original code was created using the "Magic Macro" to convert VBA code over to VB.NET code using COM Interface. I have ran...
Hi All, To access the object data in autodesk map 3D 2011, I used the below VBA code. Dim amap As AcadMap Set amap = ThisDrawing.Application. _ ...
Hi I don't know how can this issue be solves, I recently upgraded my system from windows xp 32 bit, to windows 7 64bit, and now when I try to use objectarx in autocad the application crashes. With...
Hi everyone, My vba coding is working fine in windows XP and 32 bit. I upgrade my system to windows7 and 64 bit. Now its not working, the application crashes error comes. Set amap =...
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