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 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.
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.
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...
Okay, here's the deal. I was running a machine yesterday which had AutoCAD 2013. I was also using a C# program in Visual Studio Express which gathered some data, launched AutoCAD 2013, loaded and...
I have a machine with AutoCAD 2013 on it and VB.net 2010 express with Autocad templates.
I have 2010 C sharp express on it but the AutoCAD templates are not installed.
C sharp was install...
I want to start learning VB.net , but I don't know which editor or program for VB.net and looking for your help .
Hope you provide a direct link please .
Please advise me experts...
What does this error "ePermanently Erased" message mean running an AutoCAD vb.net program?
What should I look into to correct this message?
Can AutoCAD 2015 be used with Visual Studio 2010?
If not, what is required to use VB.net and C sharp with
AutoCAD 2015 if VS 2010 express editions are allready
installed. Please include what needs...
I'm currently writing a C# plugin for AutoCAD.
I have a form containing several buttons among other things. One minor function I would like to add is to open the Group Manager via my...
I have installed the ObjectARX and the .NET wizard that provided by Mr BlackBox in below link but I still don't have them attached into my VS.net program .
can anybody put me on the...
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