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

Managed Wrapper - DBObjectCollection

1 REPLY 1
SOLVED
Reply
Message 1 of 2
mbujak
451 Views, 1 Reply

Managed Wrapper - DBObjectCollection

How do I convert a DBObjectCollection to an AcDbVoidPtrArray in a managed wrapper class? Any ideas? I have a series of entities (Non-database resident) that I want to pass through to my unmanaged custom object, but I cannot find any references to this type of action.

 

Any suggestions?

 

Mike B

1 REPLY 1
Message 2 of 2
DiningPhilosopher
in reply to: mbujak

The value of the UnmanagedObject property of a DBObjectCollection is a pointer to the wrapped AcDbVoidPtrArray*. Call ToPointer() and cast the returned value to AcDbVoidPtrArray*

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