General InformationThis opening ID is invoked when using the Export Electrical System command. For more information, see Electrical Manufacturing Preparation User's Guide: Electrical Physical System Export in KBL: Exporting an Electrical Physical System in KBL. This opening ID is used to customize and valuate:
The table below provides you with information related to the definition of the Opening ID.
The BR can be used to manage attributes of occurrence of :
Input ObjectsInput objects must be of the following type: Context Object Parameters
SampleThe following sample gives an example of the business rule syntax of electrical harness with physical system and electrical geometry including connectors and supports.
let sKBLcusto(String)
let sKBLuser(String)
let Fixing_occurence(SharedSupportPartOccurrence)
let Connector_occurrence(Elec3DSingleInsertConnectorOccurrence)
set Connector_occurrence=ThisObject
set Fixing_occurence=ThisObject
/* init custo string with empty XML content */
sKBLuser="</>" /* user xml content - does not exist in kbl definition */
sKBLcusto="</>" /* override the default value of kbl attribute */
if ( Connector_occurrence <> NULL )
{
// add user xml tags
sKBLuser="<UserAttribute1>"+"value1"+"</UserAttribute1>"
sKBLuser=sKBLuser+"<UserAttribute2>"+"value2"+"</UserAttribute2>"
// customize kbl attribute <description>
sKBLcusto="<Description>+"User Description"+</Description>"
}
else if ( Fixing_occurence <> NULL )
{
// add user xml tags
sKBLuser="<FixingAttribute>"+"FixingType"+"</FixingAttribute>"
}
Parameters.SetAttributeString("KBL_custo",sKBLcusto)
Parameters.SetAttributeString("KBL_user_custo",sKBLuser)
| |||||||||||||||||||||||||