VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modify block definition

1 REPLY 1
SOLVED
Reply
Message 1 of 2
alex_b
429 Views, 1 Reply

Modify block definition

 

Hi.

I'm trying to modify Block definitions in dwg files from an out-of-process app.

    It has to work for ACAD 2004.
    Using C# and Interop..

I can add entities to the block definition but only when I know the entity type in advance (e.g. block.AddLine() etc.).

What I mean is I need to copy entities from a source (e.g. another drawing) and add them to the block definition, without checking the entity type.
I notice there is no generic AcadBlock.Add() or AddObject() or AddEntity().
Would it be possible to do it at all?

Thanks

1 REPLY 1
Message 2 of 2
Hallex
in reply to: alex_b

See my responce on the  .NET branch

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost