Can be customized to contain the most immediate block or assembly that matches a specified assembly type. The ARGUMENTS attribute specifies the needed assembly types. The STYLE attribute describes how the block or assembly is reported. STYLE can contain the name of the block or assembly, or the assembly hierarchy.
NAME
-
SMS_PROD_INFO||BLOCK_NAME
-
SMS_PROD_INFO||ASSEMBLY_NAME
ACTION
Action |
Description |
ASSEMBLY_TYPE |
Use the assembly type to specify the block or assembly to use. |
ARGUMENTS
Determines which block or assembly to report. This attribute contains a comma-separated list of codelist assembly types. The software determines the ASSEMBLY_NAME and BLOCK_NAME by finding the first object in the assembly hierarchy from the part with an assembly type that matches one of the values in the ARGUMENTS attribute.
STYLE
Specifies how the assembly is reported.
Format |
Description |
FULL_PATH |
The assembly path from the part to the config root. This format does not use the ARGUMENTS attribute. |
ROOT_PATH |
The assembly path from the object that the ARGUMENTS attribute specifies to the config root. |
SUB_PATH |
The sub-path from the object that the ARGUMENTS specifies to the part. |
No Style (“”) |
The assembly the ARGUMENTS attribute specifies. |
To enable the customization, modify the SMS_OUTPUT.xml to include one of the following element examples under S3DEXPORT.
Examples
FULL_PATH:
< S3DPROPERTY NAME="SMS_PROD_INFO||BLOCK_NAME" ACTION="ASSEMBLY_TYPE" ARGUMENTS="2,6" STYLE="FULL_PATH"/>
Block1 - Block1.1 - Block1.1.1 - Assembly1 - Assembly1.1 -Assembly1.1.1
ROOT_PATH:
< S3DPROPERTY NAME="SMS_PROD_INFO||BLOCK_NAME" ACTION="ASSEMBLY_TYPE" ARGUMENTS ="2,6" STYLE ="ROOT_PATH"/>
Block1 - Block1.1 - Block1.1.1
SUB_PATH:
< S3DPROPERTY NAME="SMS_PROD_INFO|| BLOCK_NAME " ACTION="ASSEMBLY_TYPE" ARGUMENTS ="2,6" STYLE ="SUB_PATH"/>
Assembly1 - Assembly1.1 -Assembly1.1.1
No Style (“”):
< S3DPROPERTY NAME="SMS_PROD_INFO|| BLOCK_NAME " ACTION="ASSEMBLY_TYPE" ARGUMENTS ="2,6" STYLE =""/>
OR:
< S3DPROPERTY NAME="SMS_PROD_INFO|| BLOCK_NAME " ACTION="ASSEMBLY_TYPE" ARGUMENTS ="2,6"/>
Block1.1.1
The following picture shows all the formats available for the assembly path.
Smart 3D ignores all other attributes.
Sample Output
The sample was generated using the above ROOT_PATH for the BLOCK_NAME and SUB_PATH for the ASSEMBLY_NAME.