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.
I have the following DVB file that I need to add a function to. This is for a toolbar that runs three buttons. The first two are copy text buttons and they copy text and attributed text but they do...
I found a VBA code from the internet. Code blocks according to the positioning coordinates in AutoCAD.
code is working but for simple block.
I wanted change for attribute block but I...
I can't seem to figure out how to load ArxDBG....
How can this function be loaded in. Can this be done without Visual studio interface?
I am not a well known user of .net but this kind of routine is what I was searching for some time. A good lisp...
This is related to command LayerOrder or AecLayerOrder in AutoCAD Architecture 2015.
This command lets user specify the order in which layers are displayed in the drawing. I'm trying to modify the...
I have a macro for which I do not have access to the source code and there is form with a progress bar. In all AutoCAD versions other than 2014 the macro works fine and displays the progress bar....
i am trying to create datalinks with VBA so after that i can go to autocad and insert the tables. i've found some information on internet but was no success there.
can anyone show...
Is it possible to place Autodesk reference files (ACMgd.dll, AcCoremgd.dll, etc) into your custom
folder in my net project folder and map it in Visual Studio (C# or VB.net) so a person can move the ...
I'm trying to write a function in VBA that calculates the shortest continuous line that bisects 2 lines and a circle between them. I can calculate the line lengths and the included angle in...
I am trying to write a plug-in which can create a leader (while you are in UCS) with WCS coordinates text. This is what I did so far:
I need to extract Information ("General": Color, etc. and "Geometry": Length, Start Y, End X, etc.") from AutoCAD to an Excel-Sheet using VBA.
First I've tried it manually in AutoCAD...
The following batch loop will work for as far as pulling up a group of drawings and saving them
when the sample routine "public static void AddCircle()" is flagged out. When I try to make drawing...
My target was to do a little routine that creates layouts for the views and sets page setups for these layouts. Name of the page setup is asked from the user before making the layouts and...
I want to create a drawing in memory and then display it as preview, to show the user how the dwg would look. Is it possible?
I need to module 1 to selectionset and module2 to use selection set.
Module1:Public Function CreateSelectionSet1(Optional ssName As String = "ss") As AcadSelectionSet
Dim ss As...
I'm trying to find distance of a specified point on a 3d polyline with "getdistatpoint" function. sometimes it works properly but sometimes it gives einvalidinput error.
I have an excel sheet in which the columns are divided in this way
A = X axis
B = Y axis
C = Z axis
D = Block Name
E = Scale X
F = Scale Y
G = Z Scale
H = rotation angle
I have the statement.
Document acDoc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;
in a form routine.
I would like to be able to use acDoc in all my...
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.
I would like to create a load network using slide files (.sld) in C#. This would be displayed in a form. I would like to get some guidance on this. Please help.
I wrote a couple of VB applications a few years ago using VB 2008 express and Acad 2012 if memory serves. I am trying to get back into it using VB 2013 express and Acad 2015, but I am not having much...
I am new here and currently working on a addin related to AutoCAD 2010 prototype.
I am working on modelspace not on Layout or paperspace
I have 3D wireframe drawings which is a block...
hello evryone ,
i'm looking to make a VBA code to get a setected coordinate point (x,y and Z) directly to excel sheet .
thank you for your help :)
I want to select a block inside VBA.
I know the x-y-z coördinates of the insertion point of the block.
I also know the block name.
I can select all the blocks with that name in the...
I need a VBA code for finding the length of a selected line/polyline..
i have the code for selectonscreen
and for length again object.length can be used
but somehow i m not being...
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.
Conceived, created and cared for by David Watson © 1996–2015