Basic
Fields
Detailed Description
-
group
a3d_feature_data_basic_module The basic features are these defined with one of the following family types kA3DFamily_DoubleData, kA3DFamily_IntegerData, kA3DFamily_StringData.
These embed basic data: a double, an array of int.. And the sub Type of the feature will indicate what data it is.
For example, uv parameters will be stored in a feature with type kA3DFamily_DoubleData/kA3DFRMDoubleUVParameter, with two double inside.
A3DFRMFeatureData sFeatureData; A3D_INITIALIZE_DATA(A3DFRMFeatureData, sFeatureData); A3DFRMFeatureGet (pFeatureUV, &sFeatureData); if( sFeatureData.m_sType.m_eFamily == kA3DFamily_DoubleData && sFeatureData.m_sType.m_uiType ==kA3DFRMDoubleUVParameter) { if( sFeatureData.m_eDataType == kA3DFRMDataDouble) { A3D_INITIALIZE_DATA(A3DFRMDoubleData, sDoubleData); A3DFRMDoubleDataGet(pFeatureUV, &sDoubleData); if (sDoubleData.m_uiValuesSize == 2) { double dU = sDoubleData.m_pdValues[0]; double dV = sDoubleData.m_pdValues[1]; //... } A3DFRMDoubleDataGet(nullptr, &sDoubleData); } } //... A3DFRMFeatureGet(nullptr, &sFeatureData);
Type Documentation
-
enum
EA3DFRMDoubleDataType Double data type.
- Version
- 10.2
Values:
-
enumerator
kA3DFRMDoubleNone No double data type.
-
enumerator
kA3DFRMDoubleValue one or list of double
-
enumerator
kA3DFRMDoubleUnit one or list of unit
-
enumerator
kA3DFRMDoubleOffset one or list of offset value
-
enumerator
kA3DFRMDoubleDepth one or list of depth value
-
enumerator
kA3DFRMDoubleDiameter one or list of diameter value
-
enumerator
kA3DFRMDoubleAngle one or list of angle value
-
enumerator
kA3DFRMDoublePitch one pitch value
-
enumerator
kA3DFRMDoubleDistance one or list of distance value
-
enumerator
kA3DFRMDoubleExtensionAndStep first value is Extension, and next values are the list of steps.
-
enumerator
kA3DFRMDoubleLinearParameter one or list of linear parameter, you can have a connection to a curve.
-
enumerator
kA3DFRMDoubleUVParameter two doubles expected or list of pair of doubles, you can have a connection to a surface.
-
enumerator
kA3DFRMDoubleRadius one or list of radius value.
-
enum
EA3DFRMIntegerDataType Integer data type.
- Version
- 10.2
Values:
-
enumerator
kA3DFRMIntegerDataNone No integer data type.
-
enumerator
kA3DFRMIntegerDataValue one or list of values
-
enumerator
kA3DFRMIntegerDataBoolean one or list of boolean values
-
enumerator
kA3DFRMIntegerDataIndex one or list of indexes
-
enumerator
kA3DFRMIntegerDataKeepSpecification one or list of booleans, 0/1 corresponding to not keep specification / keep specification.
-
enumerator
kA3DFRMIntegerDataRadialAlignment one or list of booleans, 1 corresponding to radial alignment active.
-
enumerator
kA3DFRMIntegerDataClockwise one or list of booleans, 0/1 corresponding to counterclockwise / clockwise.
-
enumerator
kA3DFRMIntegerDataId one or list of ids
-
enumerator
kA3DFRMIntegerDataFlip one or list of booleans, 0/1 corresponding to not flip / flip.
-
enumerator
kA3DFRMIntegerDataType one or list of types
-
enumerator
kA3DFRMIntegerDataCount one or list of counts
-
enumerator
kA3DFRMIntegerDataSize one or list of sizes
-
enumerator
kA3DFRMIntegerDataNbStart Number of start of thread (specific to Solidworks)
-
enum
EA3DFRMStringDataType String data type.
- Version
- 10.2
Values:
-
enumerator
kA3DFRMStringDataNone not specified
-
enumerator
kA3DFRMStringDataName name
-
enumerator
kA3DFRMStringDataAttribute at least two values expected, one for the title and the others for the attributes values
-
enumerator
kA3DFRMStringDataType type
-
enumerator
kA3DFRMStringDataValue value
-
enumerator
kA3DFRMStringDataOption two values expected: the first one is the name the option, and the second one is the string “TRUE” or “FALSE”.