Hello:
I am using some ActiveX controls that install with a cad package. There is an object called an entity that represents a drawing entity like a line or circle. Some information is not available from the entity object becuase it is a more general type object used more for navigation through all the entities. The entity object provides a method called "EntityDataObject" that returns an object that provides methods for manipulating the entity at a deeper level. If I use code like this I don't get the object:
VB Code:
Dim DcEntity as Entity
Dim DcLine as entlline
then later...
VB Code:
DcLine = Entity.EntityDataObject
When I do this I it's as if I have done this instead:
When I check the value of the DcLine variable in the local window just after executing the Entity.EntityDataObject method the value for that object is:
System._ComObject
I am assuming that the system._comObject is an object that contains the object that I need.
How can I get around this? Can I somehow get the actual object that I need through this?
Thanks,
Eric