Contains the attribute of the immediate block or assembly that matches a specified assembly type. The ARGUMENTS attribute specifies the required assembly types. The INTERFACE attribute describes which block or assembly attribute is to be reported.
NAME
-
SMS_PROD_INFO||BLOCK_TYPE
-
SMS_PROD_INFO||BLOCK_FACILITY
ACTION
Action |
Description |
ASSEMBLY_TYPE |
Specifies the block or assembly to use. |
ARGUMENTS
The ARGUMENTS attribute determines which block or assembly to report. This attribute contains a comma-separated list of codelist assembly types. The software determines the BLOCK_TYPE and BLOCK_FACILITY 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.
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
Represents 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.
Examples
BLOCK_TYPE:
< S3DPROPERTY NAME="SMS_PROD_INFO||BLOCK_TYPE" ACTION="ASSEMBLY_TYPE" ARGUMENTS="2,6" INTERFACE="IJAssemblyBase::Type"/>
-OR-
< S3DPROPERTY NAME="SMS_PROD_INFO||BLOCK_TYPE" ACTION="ASSEMBLY_TYPE" ARGUMENTS="2,6" INTERFACE="IJAssemblyBase::Type" VALUE=”NULL”/>
BLOCK_FACILITY:
< S3DPROPERTY NAME="SMS_PROD_INFO|| BLOCK_FACILITY” ACTION="ASSEMBLY_TYPE" ARGUMENTS ="2,6" INTERFACE ="IJUAFacility::Facility"/>
-OR-
< S3DPROPERTY NAME="SMS_PROD_INFO|| BLOCK_FACILITY” ACTION="ASSEMBLY_TYPE" ARGUMENTS ="2,6" INTERFACE ="IJUAFacility::Facility" VALUE=”NULL”/>
Smart 3D ignores all other attributes.
Sample Output
The sample was generated for the BLOCK_TYPE and BLOCK_FACILITY