ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating a Block

1 REPLY 1
Reply
Message 1 of 2
ask12
173 Views, 1 Reply

Creating a Block

I need to create a block from existing entities in a drawing just like command BLOCK. I tried a lot of database functions but I was not able to find a solution. Any idea?
1 REPLY 1
Message 2 of 2
OnoSendai
in reply to: ask12

In chapter 6 are some information about how to create a block. To use your existing elements you can move them into your new BTR via pBTR->assumeOwnershipOf(list);
Alternatively you will have to copy your elements and append them to your BTR
(pBTR->appendAcDbEntity(pClone);)

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

Post to forums  

Autodesk Design & Make Report

”Boost