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.
with vba / autocad I make a form for extract, from block, the attributes. This block contains 37 different attributes. A combobox reads the blocks present in model space, select the block in...
I have a:
xls with columns block-name att1-tag to attn-tag could be about 15 att. and columns ,at the same row with att-values. last colummn to set order number or empty , to insert the...
I've recently been having another attempt at installing the dotNet API for AutoCAD.
As my previous attempt I installed VS 2015 and the AutoCAD SDK. Once this is complete you are meant...
Hi, I'm trying to figure out how to access The VisibiltyState Using C#
This is the code I found on Google Search :
static public void DynamicBlockProps()
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...
Is there a place where I can see a summary of the existing objects and their properties? All the documentation I found has the information but scattered and filled with explanations and...
i'm newbie. i have some idea about sheetset manager (SSM), i refer some code in internet and do it but it's not working with me....help me please why do not working
1. i'm reference the...
Does anyone know the format or syntax of exporting to dxf in VB.Net?
Or just some help on VB.Net will work!
I am trying to insert a block from a known file location into a drawing using a AutoCAD menu button to load a vba code
I have successfully done this but I can only have the block inserted at...
i need help....I am looking for two command of VBA of the layout. Some example would be fantastics...
The two command are:
--> one to increase the dimensions of viewport
I know a lot of AutoCAD users find themselves doing the same functions over and over. Most of us can type the command prompts blindfolded and finish half the drawing. I am just starting out with VBA...
Hello. can someon help me get the length of certain layer either in polyline or line using autocad vba in userform
I need to develop something to speedup the process of cutting files.
into the pieces I have lots of single lines named slits that i need to transform in some kind of block that must be part of the...
I have a big problem....
I have about 100 DWG with a lot of sheet in the same model space and i must print every sheet, so i am looking for a script in VBA or lisp to create from...
Can Any one Help Me ... I need a VBA Function that gives the properties of a selected dimension
so when I Click on the dimension I need the Function to restore both start point and end...
I am trying to convert a list of .dgn files to .dwg and I could not find code to import a single one.
I think that I can fix with the rest of the code, but I am stuck in that part.
I'm literally just getting into .NET programming and I'm having trouble figuring out how to request pipe information.
I've got something simple here where I've counted pipes in the drawing. Now...
I have a EnvironmentVariable that is called "ACTIEVEGROEP"... some company history....
When i type in AutoCAD:
It returns one of the following...
I have a .las file which contains a data about several layers and i need a vba code to load this file
can any one help me please? :)
can anyone please point me on how to draw a ployline between points.
I am using this example but the problem is that the polyline is always starts from the origin (0,0)
Dim plineObj As...
I need to draw a mline in a drawing and I' m going to close it as rectangle box.
I command mode it is so easy but in VBA programming mode I have no idea.
Is there any chance to...
Hi. I pasted the following code from a help file, into a new .dvb file and ran it. I used to work fine. Currently it gives me an error (shown below). It used to work fine previously. I reinstalled...
I have small vba for plotting but it not working. Does anyone help me about it?
Thanks in advance.
Curley question for all you AutoCAD macro masters out there.
I have an issue where I need a macro that automates the repetitive process of making an AutoCAD block.
Im often tasked to create cut...
hello all :)
I am working for constraint on vba. But i am not able to code for constraints to change the value of it using vba.
Suppose I have rectangle and one constraint is height d1 = 10 and...
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–2017