.NET

.NET

Reply
Valued Contributor
58 Posts
0 Kudos
Registered: ‎03-05-2006
Post 1 of 3

ObjectARX to .NET managed wrapper class

141 Views, 2 Replies
03-22-2006 05:17 AM
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....
Distinguished Contributor
212 Posts
6 Kudos
Registered: ‎10-03-2003
Post 2 of 3

Re: ObjectARX to .NET managed wrapper class

03-22-2006 05:43 AM 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.
Valued Contributor
58 Posts
0 Kudos
Registered: ‎03-05-2006
Post 3 of 3

Re: ObjectARX to .NET managed wrapper class

03-22-2006 06:29 AM in reply to: sivashanmugam
Thanks for the reply.....
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!