Questions tagged [autocad-plugin]

External libraries (AutoLISP, ObjectARX, .NET) that can be integrated into AutoCAD for customization.

AutoCAD can be customized/enhanced using AutoCAD plugins, which are external libraries that can be developed and integrated into AutoCAD. The three widely used customization API's include AutoLISP, ObjectARX and AutoCAD.Net.

368 questions
2
votes
2 answers

Using a Lisp function to load a .NET plugin into AutoCAD 2014

I have a plugin that I have finished developing with C# .NET. Because I have multiple plugins that I want AutoCAD to load on startup, I use a Lisp script that loads all my plugins with one function call. Since this is my first of many planned .NET…
Nick Gilbert
  • 4,159
  • 8
  • 43
  • 90
2
votes
2 answers

Autocad 2015 plugin autoload

I whant to load my plugin on autcad startup and this is the PackageContents.xml
user3451925
  • 33
  • 2
  • 6
2
votes
2 answers

How to start AutoCAD from .NET, using Windows Service

I need to start AutoCAD from a windows service. This service is running with a "special" domain user, which is created for just running my service. This user is admin on the machine, and this user installed AutoCAD 2014 on the machine. The code I'm…
AntiTalent
  • 101
  • 1
  • 9
2
votes
1 answer

DocumentCollection.Open() function not working AutoCAD API

I'm developing an AutoCAD plugin for my application. I'm using AutoCAD 2012. Plugin opens .NET named pipe, and so I can connect to it from my desktop application very easily. First of all, i have created an interface. Here it…
Denis Ionov
  • 127
  • 1
  • 2
  • 8
2
votes
1 answer

Restrict shape movement inside another shape in AutoCAD

I am creating plugin in AutoCAD for shape container, for this inner entity can only be move within the container, as per my basic knowledge to AutoCAD this can be done using JIG class. Please suggest any code or sample to achieve this.
Firoz
  • 7,224
  • 10
  • 41
  • 56
2
votes
1 answer

How to convert Autocad drawing to image?

I have an Autocad drawing which is a plan for land squares where each square contains a number. I tried to convert it to image by choosing: File --> Export Data --> and file format Bitmap (bmp). (I have Autocad 2013 Mac version) the file converted…
user836026
  • 10,608
  • 15
  • 73
  • 129
2
votes
2 answers

Find objects having a specific value in a specific property in Autocad drawing

I have objects in Autocad drawing with property named Base. I am trying to find all objects in that drawing with Base property has a specific string value such as "Pipe". I can iterate objects in the drawing and get all object ids. Then I get all…
Demir
  • 1,787
  • 1
  • 29
  • 42
2
votes
5 answers

Embed DWG file in HTML

I want to ask how to embed DWG file in HTML Page. I have tried using tag with Volo Viewer but this solution run only in IE not in Firefox and Chrome.
Abdullah Darwish
  • 223
  • 2
  • 5
  • 17
2
votes
1 answer

Targetting x64 platform with entity framework 4.1 in Visual Studio 2010

I have a database application that references Entity Framework 4.1. In the properties window of the project both the Configuration as well as Platform selection options are disabled. I wan't to target this application only for x64 systems. Also…
Jatin
  • 4,023
  • 10
  • 60
  • 107
1
vote
2 answers

How to set the multiline property for an attribute inside an AutoCAD block definition using C# API?

Following code fragment creates a block definition with attributes. The second parameter contains a dictionary for attribute names and its visisbility. Additionally I want to set the property for multiline text. This property will be available, when…
1
vote
1 answer

Identify And Update Table Records In DWG File | Design Automation API | Autodesk Platform Services API

We want to create an autocad plugin that takes input drawing (dwg file) [![Dwg file with tables][1]][1] , identify the table records in drawing and then update them as per user inputs and save the drawing. Example : In shared drawing, we want to…
1
vote
2 answers

VB.Net Add Workbook to Running EXCEL Instance

I am working on AutoCAD plugin. Trying to implement function where it first looks for already running EXCEL instances so I just Add new workbook to existing instance instead of always creating new process. My code fails at the point where it tries…
Justas
  • 101
  • 2
  • 8
1
vote
1 answer

Signtool returns error 0x800700C1 while trying to sign AutoCAD OEM setup.exe

I have been building AutoCAD OEM based applications for years now. Just recently, I stumbled upon some freak error I have not been able to resolve. With the AutoCAD OEM platform, there is an Installer Wizard that creates an installer for the…
1
vote
3 answers

c#, autocad plugins, Updating text of object properties

I need to write AutoCAD plugin to display the area of the object. Below is my code. It works fine, but test is static. I need to keep tracking the area of the circle cir.Area.ToString();. Currently, If I change the size of the circle latter on, the…
Shahgee
  • 3,303
  • 8
  • 49
  • 81
1
vote
0 answers

Autocad C# How to show data in a Dialog able edit and save

After retrieving Xdata from an entity, I have a problem that how to show it into a dialog box for viewing, editing, and saving after changes. I tried it on winform listview but failed. How to call the even Form1 from another class. public partial…
jasontho
  • 11
  • 1