![]() |
How to get color of face object?
You can use Face2.GetMaterialPropertyValues2 to get the color properties that SW is sending to OpenGL. If this array comes back with -1 values in the array, then look to the ModelDocExtension.GetMaterialPropertyValues for the default values of the document.
Regards, -Earl |
回复: How to get color of face object?
VARIANT vFeatureDispProp;
VariantInit(&vFeatureDispProp); vFeatureDispProp = swFeature.GetMaterialPropertyValues(); PS:SW API OLE & VC 6.0 |
所有的时间均为北京时间。 现在的时间是 07:52 AM. |