Piping ISO/ORTHO, Piping Assembly, and HVAC Batches Annotation Rule (AITACSpoolAnnotationBusinessRules1)

An opening ID is an entry point used to customize business logic. The Piping ISO/ORTHO, Piping Assembly, and HVAC Batch annotation rule opening ID is used to create additional annotations on the piping parts and piping pipes.

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 while using the Piping Spool Isometrics, Piping Assembly Isometrics, Piping Orthogonal Drawings, HVAC Orthogonal Spool Drawings commands.

Input mode:

  • 1=Spool Mode
  • 2=Spool Assembly Mode
  • 3=Orthogonal
  • 4=HVAC

You can retrieve the run mode with GetAttributeInteger from the business rule. Set Mode = Parameters->GetAttributeInteger("RunMode").

Note: This is an optional parameter to override the execution for each type of batch, in case if only single type of batch is used or the same result is applicable to all batches, or else run mode is not required.

The result is placed as a text annotation in the isometric projection view.

Alternatively, you can add a coordinate template name in the drawing profile to create a Multi-Discipline Drafting annotation.

Input Objects

Input objects must be of the following types:

  • ThisObject: FactType ProductOccurrence (=assembly occurrence).
  • Parameters corresponds to the context object.

Context Object Parameters

Parameter Name Type Read or Write Comments
FactType Any EKL type Type of ThisObject in the business rule body.
CoordinateX Real IN Coordinate or piping node where the annotation leader is pointing.
CoordinateY Real IN Coordinate or piping node where the annotation leader is pointing.
CoordinateZ Real IN Coordinate or piping node where the annotation leader is pointing.
RunMode Integer IN 1: Annotation on the Piping Spool Isometric.

2: Annotation on the Piping Spool Assembly.

3: Orthogonal

4: HVAC

Annotation String OUT String text to be placed on the new annotation, if the text is empty, the annotation is not created. Multiline text is supported
CustomAnnotationRulesTemplate String name Name of the annotation element stored in the drafting annotation templates catalog chapter

Note: CustomAnnotationRulesTemplate is applicable only for orthogonal and HVAC batches.