How to Get all Properties of an Object

Experimenter
Experimenter

How can i Get all Properties of an Object in a List

objDimStyle As SolidEdgeFrameworkSupport.DimensionStyle

 

 Properties.PNG

1 REPLY

Re: How to Get all Properties of an Object

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Spy for Solid Edge is open sourced on GitHub. Everything you want to know can be found in the source code. You have to have a pretty good understanding of COM in order to pull it off. To give you a hint on where to start, see my ComTypeInfo class. It has a Properties property that exposes all properties for a given COM object. Really too many details to try and explain in a forum post. I suggest you download the source, compile it and try to learn from it.

Jason Newell
Applications Architect
www.jasonnewell.net