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. ...
We currently have a mixture of AutoCADs in the office. We all had ACAD2011 on XP but there are now 2 machines with ACAD2013 on XP and one ACAD2013 on 64 bit Win7. I am in the process of changing...
Hi all, I have got this code by KEAN WALMSLEY. His code will ask user to select a block and then list all of selected block's attributes. However, I need to tweak his code a little bit and...
I was wondering if anyone might recommend a forum where I could ask a few questions about object oriented programming. Something like CADTutor for .net programming.
I'm trying to load a linetype into the active document so i can set a layers linetype to the one i'm trying to load. Now the problem is when i try to load it, autocad is giving me an exception of:...
From what i am reading, it takes some work to access a layers linetype name (LineTypeTableRecord.name). Is there another way around this? Is there a way to access the linetype name from within the...
another question about VB.Net Express... I am creating an exe program that I wish to deploy around the office. I have found the build|publish menu button which gets me most of the way. The final...
This is a general question about VB.Net rather than AutoCAD VB.Net but I think the question is general. In the past (VB6) I have created an array of radio buttons by copy & paste which gives me...
Creating code snippets is not so straigthforward in Visual Studio as it might be and I always found it a bit of a pain. I stumbled on this little tool that binds into VS and makes creating snippets a...
Hi, I have an electrical load schedule excel format. are there any VBA to automatically create a single line diagram to cad using only the datas from the excel file i have.
Hi All, Anyone can help my problem, I have VBA code it's working fine in AutoCAD 2008. but it's not woeking in AutoCAD 2011. after hide the forms, i can't get my cad scr. thanks for your...
Hi, all! Working in the sphere of HVAC I developed an AutoCad VBA application for drawing ducts. I've been adding some features during the last months and I always use it when it comes to duct...
I have searched everywhere for two days but couldn't find any examples. It seems that the content library is not exposed through VBA API.(eg 'amtapthole2d' command). Am I missing something?
I have no experience with VB in Autocad but have used it quite often in other word based applications and know the abilities it has. I was wondering if it could be applied in Autocad as a Macro based...
Hi guys, I'm new here and in programming also. I need to create a programm which should check a drawing. The check means, that we have 3 different layers: contour, axes and section. As you know...
I am drawing a polyline with VB.Net using a modification of fixo's routine (his first post in this thread http://www.cadtutor.net/forum/showthread.php?78728-3d-points-amp-2d-polylines ). It suits my...
okay, im trying to get a connection to 2006 and im having problems. i used keen(through the interface) example and its throwing a COM exception, BUT it is creating the instance of autocad. I dont...
Hi I have an excel file with a column containing polygon vertices like follows: Row 1 x-Cord1|y-Cord1 x-Cord2|y-Cord2 x-Cord3|y-Cord3.... Row 2 x-Cord1|y-Cord1 x-Cord2|y-Cord2 ...
hi guys, Im trying to insert a block into autocad, via a button/ check box. my code is as follows:- Private Sub OptionButton1_Click() Dim insertion point (0 to 2) as double Dim...
Good Day Often when developing a .net application for AutoCAD one can add the "netload" command in the acaddoc.lsp file, and enable load acad.lsp with every drawing. However at times this...
Hi Forum, I'm Totally new to Visual Basic Programming and i just had a few questions; does VBA start up via LISP command? or some other way? i'm trying to insert 6 blocks that i constantly...
Hello, My goal is to set up a batch printing on all AutoCAD drawings. Each drawing will have a record similar to this: The PartNo records underlined in red are other drawings that my...
forgot to mention, this is in VB.Net. I need to draw a polyline between two selected points (and then do some stuff to it). What is my best way forwards? The book I am "learning" (you learn...
I have used TrueConvert to load a page setup into a group of drawings. Now I would like to make that page setup current using some type of batch method for the group of drawings. Is there a way to...
Hi I am very new to Visual Studio and scripting with Auto cad. Could you please tell me the initial settings of Visual Studio C# for accessing Autocad features. I am using visual studio 2012 and...
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...
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