Contains the attribute of the most immediate block or assembly that matches a specified assembly type. The ARGUMENTS attribute specifies the assembly types. The INTERFACE attribute describes which block or assembly attribute to report.
NAME
-
SMS_PROD_INFO||ASSEMBLY_TYPE
-
SMS_PROD_INFO||ASSEMBLY_WORKCENTER
ACTION
Action |
Description |
ASSEMBLY_TYPE |
Specifies the block or assembly to use. |
ARGUMENTS
Determines the block or assembly to report. This attribute contains a comma-separated list of codelist assembly types. The software determines the ASSEMLBLY_TYPE and ASSEMLBY_WORKCENTER 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.
The software retrieves the immediate parent information if the ARGUMENTS attribute value is Parent.
<S3DPROPERTY NAME="SMS_PROD_INFO||BLOCK_TYPE" ACTION="ASSEMBLY_TYPE" ARGUMENTS="Parent" INTERFACE="IJAssemblyBase::Type">
<S3DPROPERTY NAME="SMS_PROD_INFO||ASSEMBLY_WORKCENTER" ACTION="ASSEMBLY_TYPE" ARGUMENTS="Parent" INTERFACE="IJPlnAssociateCatalog::WorkCenterName"/>
INTERFACE
Format |
Description |
Interface::Attribute |
Gets the attribute value from the interface on the assembly or block. If the attribute value is a codelist, the software displays the short description. |
VALUE
Specifies an optional default value of your choice. Smart 3D uses this value if an error occurs while retrieving the value from the INTERFACE attribute. If this attribute is not used, then the system uses “” as the default value.
Smart 3D ignores all other attributes.
Examples
ASSEMBLY_TYPE:
< S3DPROPERTY NAME="SMS_PROD_INFO||ASSEMBLY_TYPE" ACTION="ASSEMBLY_TYPE" ARGUMENTS=" 16,7" INTERFACE=" IJAssemblyBase::Type "/>
-OR-
< S3DPROPERTY NAME="SMS_PROD_INFO||ASSEMBLY_TYPE" ACTION="ASSEMBLY_TYPE" ARGUMENTS=" 16,7" INTERFACE=" IJAssemblyBase::Type " VALUE=”NULL”/>
ASSEMBLY_WORKCENTER:
< S3DPROPERTY NAME="SMS_PROD_INFO|| BLOCK_FACILITY” ACTION="ASSEMBLY_TYPE" ARGUMENTS =" 16,7" INTERFACE=" IJPlnAssociateCatalog::WorkCenterName"/>
-OR-
< S3DPROPERTY NAME="SMS_PROD_INFO|| BLOCK_FACILITY” ACCTION="ASSEMBLY_TYPE" ARGUMENTS =" 16,7" INTERFACE=" IJPlnAssociateCatalog::WorkCenterName" VALUE=”NULL”/>
Sample Output
The following sample was generated for the ASSEMBLY_TYPE and ASSEMBLY_WORKCENTER: