General InformationThis opening ID is invoked when using the Replace Multiple Objects Using Architecture Components command. This opening ID is used to filter the list of possible locations where a facet can be created.
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleThe following sample illustrates how to use the Schematic_GetFatherFor2DFacetInstance opening ID.
Notify('Schematic_Get2DFacetCreationContext Called')
let ListOfAvailableContext(List)
set ListOfAvailableContext = Parameters.GetAttributeObject("Input_ListPossibleFathersFor2DFacet")
let numobj(Integer)
set numobj = ListOfAvailableContext.Size()
let Context(String)
let i(Integer)
set i = 1
for i while i <= numobj //side ListOfSelObj
{
let TmpContext(String)
set TmpContext=ListOfAvailableContext.GetItem(i)
if(TmpContext like '*Contribution*')
{
Notify('Schematic_Get2DFacetCreationContext Successful')
Context=TmpContext
break
}
}
Parameters.SetAttributeString("Output_SelectedFatherFor2DFacet", Context)
| |||||||||||||||||||||||||||||||