Autocad .NET standalone application issues

Autocad .NET standalone application issues

Anonymous
Not applicable
569 Views
1 Reply
Message 1 of 2

Autocad .NET standalone application issues

Anonymous
Not applicable

I'm attempting to develop a standalone application.

 

I've been reading through what i belive to be up to 90% of all related posts and can't find anything to help me get started.

 

What I'm doing? - Accessing and changing / adding SummaryInfo Custom properties and inserting an image in the model layer.

 

What I've tried?

 

Using ObjectArx ...mgd.dll files - without success something about invalid program

 

found that you are supposed to use com files.. 

 

re-wrote the code to use Interop and Interop.Common .dll's 

 

The Interop .dll file method is super slow, as it starts the application ( not in memory ) to alter these things. (using .Net 4.0)

 

Is there any other way to change these 2 things (image insert, custom properties) in a faster manor? 

 

Requirements:

    Load acad or its db in memory from an EXTERNAL program

    Change properties and insert image capabilities

    save as different file.

 

 

Thanks for any advice.

0 Likes
570 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

Hi,

 

You can try using the AcCoreConsole.

You can have a look at this DevTV by Balaji Ramamoorthy and this post on Kean Walmsley blog.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes