|
经典案例图书 After an SAT file containing generic attributes has been imported intothe SolidWorks application, the attributes are imported as SolidWorksattributes. You can access these attributes using the standard SolidWorksattribute methods and properties.
The names of the attribute definitions are:
XLTR_ATTRIBUTE_DEFINITION_DOUBLE_TYPE forATTRIB_GEN_REAL
XLTR_ATTRIBUTE_DEFINITION_STRING_TYPE forATTRIB_GEN_STRING
XLTR_ATTRIBUTE_DEFINITION_INTEGER_TYPE forATTRIB_GEN_INTEGER
XLTR_ATTRIBUTE_DEFINITION_DVECTOR_TYPE forATTRIB_GEN_POSITION & ATTRIB_GEN_VECTOR
Each attribute definition has two parameters:
•Value.This parameter is of type swParamTypeString. It is of type swParamTypeDouble,swParamTypeString, swParamTypeInteger or swParamTypeDVector, dependingon the attribute previously listed definitions.
•Name
|
|