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

ObjectARX to .NET managed wrapper class

2 REPLIES 2
Reply
Message 1 of 3
sivashanmugam
325 Views, 2 Replies

ObjectARX to .NET managed wrapper class

Hai,

This is the code I have seen in the ObjectARX.

I need the equilent .NET code using .NET managed wrapper class for the below.....



Code:
-------

AcDbGroup *pGroup = new AcDbGroup;
AcDbObjectId groupObjectId;
AcDbDictionary *pGroupDict = NULL;

acdbCurDwg()->getGroupDictionary(pGroupDict, AcDb::kForWrite);
pGroupDict->setAt("GroupName", pGroup, groupObjectId);
pGroupDict->close();

pGroup->append(objectId1); // objectId1 and objectId2
// are objId's of the
pGroup->append(objectId2); // entities which will be in the group.

pGroup->close();

plz help............

Regards,
N. Siva shanmugam....
2 REPLIES 2
Message 2 of 3
Mikko
in reply to: sivashanmugam

Albert Szilvasy posted a bit of C# code here.

http://discussion.autodesk.com/thread.jspa?messageID=4865255

You'll have to decipher it as the formatting is lacking somewhat.
Message 3 of 3

Thanks for the reply.....

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost