Choose a Sheet Group ID (SchematicGeneration_GetSheetGroupId)

An opening ID is an entry point used to customize business logic. The Choose a sheet group ID during diagram generation opening ID, available in the Diagram Resources resource set, groups all nets that have the same sheet group ID into the same sheet.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked for each net group that is placed in a view.

Definition Description
PLM Opening ID SchematicGeneration_GetSheetGroupId
Customization intent Computation
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject: The instance of the net group that is going to be placed.
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
EleLogicalNetGroupInst PLM Instance Read The instance of the net group that is going to be placed.
SheetGroupID String Write The sheet group ID for all the Nets inside the given net group.

Sample

let ThisName (string)
let circuit(string)
let sSheetGroupID(string)

//let sSheetGroupID(string)
//set sSheetGroupID = ThisObject.Name

//Trace(1, "netgroup name : #", ThisObject.Name)
if ThisObject.V_Elec_PredefinedPartNumber <> ""
{
	set sSheetGroupID = ThisObject.V_Elec_PredefinedPartNumber
}
else {set sSheetGroupID =  "nocircuit"}
	
//Notify("GetSheetGroupID: netgroup # ;  #", ThisObject.Name,  sSheetGroupID)
Parameters.SetAttributeString("SheetGroupID", sSheetGroupID)