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. ...
Hi, I want to import data into AutoCAD which automatically draws the required diagram. Im working with .NET application that would send data in AutoCAD and then export the diagram back into my...
I'm new to AutoCAD VBA (not to VB or VBA). I need to know a couple of basic things. I want to (through VBA) select a block and open a form showing it's attributes. I was able to do this through a...
HI I have to open all dwg in a directory, modify some block attribute ( like BOM..drawng number..) and make a saveas. Fist i make the code for a already opened dwg, modifiy it and saveas ( with...
I am working on a routine that, at one point, goes into a Do loop and reacts to keystroke input via the GetAsyncKeystroke API. The routine looks at the arrow keys and a couple others and translates...
Hi I starting learnig vb.net for autocad. I Have to open all .DWG file and make a liste off all Block Name and the Block Attibute for block whit "bom " as name. My Code stop when i try to get...
can someone please help me with this tutorial: http://through-the-interface.typepad.com/through_the_interface/2008/11/adding-custom-p.html I did everything as it says, and it works fine. but I need...
Hi guys, I'ld like to make a VBA program that scrolls through my drawing searching for 3D poly's, changing them to 2D poly's. Not that difficult, but I was wondering how to go through the vertexes...
In order to use AutoCAD commands with VB.net do you allways have to use code to open an AutoCAD Session in the VB.net or can you access an AutoCAD session that is opened before the VB.net program...
+++++++++++++++++++++++++++++++++++++++++++++++++++++ i want development the map with this formula beta =r/R*360/vba Autocad tools Thank you all Formula= beta=r/R*360
is there a way to close (unload) loaded .arx ? as it is, AutoCAD needs to be shutdown in order to modify the .arx file (because its opened) thanks. edit: I've found the solution, sorry for this...
Me a arc, but I cannot arc to the beginning of a line from the center and the center of the arc to killPlease help "Visual Basic with AutoCAD software"
hi I editing lot of drawing with the readdwgfile command. I see that we cannot use database.save command. Instead, can we use a SEND as COMMAND SAVE. Dim myDB As New Database(False,...
i am trying to check to see is the instance of AutoCad is ready . i know i can check the processes to see what is running but i dont hink that gives me a check of if it is ready or not. since autocad...
Hi: I am using SolidWorks 2DEditor, and need to add some text from code to the lower-right corner of the drawing. The snag seems to be in obtaining the system variables EXTMIN and EXTMAX. ...
i am creating an app that opens a drawing that automatically assiagns a tag to the title block. every thing is fine till it starts looking through the objects. i get 'failed to get document object' i...
i know that in VB.Net you can use Application.StartupPath to find the path to where the application was executed. i am trying to use this in order to make the application more portable to other...
I am building layer states in Civil 3d 2011 to show all discipline types either within dwg or in xref in VBA. Discipline types will be selected by user ex. V-, C-, D-. I can get the ones local by...
I have been trying to work out a quick solution to a problem using .net but have been stumped by my lack of knowledge in programming. I need to write an app/plugin for autocad that will change the...
Hello: I have an application written in 2005 .net with autocad api and after the user enters a command, the code instructs to open a template off the server. Here's the code to open it: ...
Hello Please let me for the intended application. Thanks
The Code below selects entities in a drawing. I now need to create a new group called groupa mad up of the selected entities. What do I need to add to my code Public Class Class1...
I have a code which changes the dimension style in a drawing from DimStyle1 to Dimstyle2 Is it possible to change from dimstyle1 to dimstyle2 if dimstyle2 was on a closed drawing. If so What...
I have a code which creates a selection winow. I need to edit the code so that the user will be allowed to pick the window points on screen instead of the points being hardcoded any ideas? ...
I cannot seem to debug a simple vb.net program. I am new to .net programming, but i think i should be able to debug from vb express. Here is my setup: Windows 7, 64 bit Vb 2010 express...
AutoCAD 2009 & 10 VBA. Is it possable to pick a specific exploded entity to get it's layer name? Can a person take this one step farther and pick a specifc enitity in a block? I would like to...
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.
Forum Rules