|
楼主 |
发表于 2007-9-4 00:15:00
|
显示全部楼层
回复: How to get name of face?
Dear Yanhua,
The only way I can find to check all the names is to iterate thru the faces and check for NULL values or empty strings.
Is it possible to use the face IDs in your application? I pasted in some information about the IDs below.
SolidWorks uses the face ID to track the specific faces of imported bodies (for example, IGES imports).
The face ID is a persistent ID that is not saved with the document. Any third party application can change the face ID. The intent is that you will assign an ID value to a particular face so that you can refer to that face within your application. Each ID value must be unique, so it is best to let SolidWorks assign ID value for you when an imported body or surface is created.
Use the Attribute object to store data with a face.
Regards,
Robin Richter |
|