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 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...
I'm looking for the guide to make solid objects from some bounded areas by using Presspull command. Please give me some advices!
I would like to write a small program that can read all of the pagesetups within a DWG file to check if they have been named correctly. It doesn't need to modify the drawing in anyway.
I would like to show you my pack of plugins to automize design engineering processes in AutoCAD.
My professional field is Audio/Video/Radio/TV etc complexes.
I need your professional...
i use this vba from excell which wrriten by mr.Christos Samaras
this vba draw blocks in the active autocad drawing
i want each time i run the vba macro save the drawing...
I need a VBA code for calcualting the total length for all the lines of a selected Layer..
I have a problem with the ObjectARX 2017 project creation on the Visual Studio 2015.
I've downloaded the ObjectARX package from the Autodesk page and run it. It was unpacked in that...
I have a floor plan and I want that plan to convert in the editable web page using Asp.Net.
I have the following reference websites, please visit the sites below for better...
i have a Script
Sub ChangeLayer(ByVal FullDwgName)
On Error Resume Next
Set AcadApp = GetObject(,"Autocad.Application")
If Err Then
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