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 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...
i want a vb.net code in which user selects multiple lines,polyline,etc and using code we get the count of selected entity and its length....
thank you in advance....:):)
Does anyone have example code that saves a current drawing and then closes
AutoCAD documents? I have tryed to use CloseAndDiscard or CloseAndSave and they give
Drawing Busy errors.
I have a spreadsheet that has a userform that starts as soon as the workbook is opened.
When I paste my spreadsheet as a link into autocad it launches that startup form and it causes autocad to...
I want tho create a named rangein excel from autocad.
I can not call the workbook.names.add method and pass the arguments.
This works from within Excel VBA but not from within AutoCad VBA.
Good Day all,
I am using the if statement in VBA: If i < Num then
but the code in the if block executes even though the condition is not met.
Can anyone explain this situation
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...
Hi, iv got the below vba in progress, i copied it from somewhere online but cannot remember where to give credit :(
Anyway iv got it running from a userform but it will only update the last block...
I am inserting a block into my drawing called vp_block. The block can be inserted anywhere from 6 up to 1000 times in a drawing. There are two tags associated with the block they are...
Ive made a tool to cleanup your dwg-drawings: CLEAN UP XREF V1.1
I want to share it, to help each other! Send me your comment! You can download it below.
It contains the follow...
I am new to Autocad customization, so would appreciate any help!
We want to be able to insert an object with data attributes into an Autocad drawing based on whether a field in a database...
I am using C sharp.
Import excel file into MS DataGrid with AutoCAD debug I get the following
MS Jet OLEDB.4 provider in not register on local machine
Application does not...
AutoCAD Map and AutoCAD Civil 3D has the ability of storing Coordinate Reference System embedded in a drawing.
I have been making some testing and I think that this is stored in the NOD...
I have a problem in line 7 of this code:
'inserts the string "Hello" into the drawing area
Dim TextPosition(0 To 2) As Double
TextPosition(0) = 1.5
Is there a way to change AutoCAD versions that Debug uses?
I have VS 2010 C Sharp express and my program debug is set for AutoCAD 2014. I want
it to work on AutoCAD 2013.
Is there a way I can...
I am developing an application that automatically generates a set of drawings from a template using user input and an access dbase.
As a part of this I have code that is called to update a single...
I've attached a screenshot of the software, basically I get tons o
I have a .dll file compiled and written in VB express 2010 back in 2011 by my peer. Fast forward to 2015, Im trying to netload this .dll file with no success. is there anyway to migrate the codes...
I am trying to write a plugin which asks me to select some lines and while doing it asks for a keyword to show some application forms. Here is the code I have written so far:
I am trying to decal sketch on mesh using exponential map. While generating exponential map, I am calculating plane by initial point on mesh and normal calculated on mesh by that point. then...
Has anyone heard of a software called DraftSight? My understanding is that it is Dasault version of AutoCAD. A few questions here.
1. Does anyone know if there is a way to import a...
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