ASDAlignmentSectionView
Inheritance Path
ObjectType Feature ASDView ASDAlignmentView ASDAlignmentSectionView
Methods
The following methods are associated with this type:
ASDAlignmentSectionViewInheritance PathObjectType Feature ASDView ASDAlignmentView ASDAlignmentSectionView MethodsThe following methods are associated with this type: ExampleASDAlignmentViewInheritance PathObjectType Feature ASDView ASDAlignmentView MethodsThe following methods are associated with this type: ASDAnnotationInheritance PathObjectType Feature ASDAnnotation MethodsThe following methods are associated with this type: Example
/*
@ShortDescription: This rule checks if all created methods and attributes work well.
@Parameters: None
*/
/* Input data : DrwView */
let MyAnnotation(ASDAnnotation)
let IndexListASDAnnotation(Integer)
let IndexListParameterNames(Integer)
let ListASDAnnotation(List)
let ListParameterNames(List)
let MyAnnotationType(String)
let ParameterType(String)
let ParameterName(String)
let AnnotationTemplate(String)
let ParametReal(Real)
let ParameterInteger(Integer)
let ParameterString(String)
let ParameterAngle(ANGLE)
let ParameterLength(Length)
let ParameterBoolean(Boolean)
let MyASDView(ASDView)
let MyTuple(KWETuple)
let SubTuple(KWETuple)
MyDrwView->GetASDView(MyASDView)
//Retrieve ASD annotations created in ASD view
if (MyASDView <> NULL)
{
//ListASDAnnotation = MyASDView.Query("ASDAnnotation","")
MyASDView->GetASDAnnotation(ListASDAnnotation)
Notify(" ************** ", MyDrwView.Name," ___ ListASDAnnotation size = ", ListASDAnnotation.Size())
if (ListASDAnnotation.Size() > 0)
{
for IndexListASDAnnotation=1 while IndexListASDAnnotation <= ListASDAnnotation.Size()
{
MyAnnotation = ListASDAnnotation.GetItem(IndexListASDAnnotation)
//Retrieve type of my annotation using the attribute .AnnotationType
MyAnnotationType = MyAnnotation.AnnotationType
Notify(" ****** MyAnnotationType ", IndexListASDAnnotation," = ", MyAnnotationType)
//From annotation, retrieve list of parameter names
ListParameterNames.RemoveAll()
MyAnnotation->ListParameterNames(ListParameterNames)
Notify(" List Parameter names size = ", ListParameterNames.Size())
AnnotationTemplate = MyAnnotation.TemplateName
Notify("Annotation Template name = ", AnnotationTemplate)
//Checks if MyAnnotation contains a specific parameter type, Ex: If there is CRSID parameter in MyAnnotation
if (MyAnnotation.HasParameter("CRSID") == True)
{
ParameterString = MyAnnotation.GetParameterString("CRSID")
Notify("Parameter Value CRSID== ", ParameterString)
}
IndexListParameterNames = 0
for ParameterName inside ListParameterNames
{
IndexListParameterNames = IndexListParameterNames + 1
//Retrieve type of annotation
ParameterType = MyAnnotation.ParameterType(ParameterName)
//Retrieve parameter value using the right method GetParameter
if (ParameterType == "Real")
{
//Ex: retrieve parameter real using GetParameterReal method
ParametReal = MyAnnotation.GetParameterReal(ParameterName)
Notify("Parameter Name ", IndexListParameterNames," = ", ParameterName, " # Parameter Type = ", ParameterType, " # Parameter Value == ", ParametReal)
}
if (ParameterType == "Integer")
{
ParameterInteger = MyAnnotation.GetParameterInteger(ParameterName)
Notify("Parameter Name ", IndexListParameterNames," = ", ParameterName, " # Parameter Type = ", ParameterType, " # Parameter Value == ", ParameterInteger)
}
if (ParameterType == "String")
{
ParameterString = MyAnnotation.GetParameterString(ParameterName)
Notify("Parameter Name ", IndexListParameterNames," = ", ParameterName, " # Parameter Type = ", ParameterType, " # Parameter Value == ", ParameterString)
}
if (ParameterType == "ANGLE")
{
ParameterAngle = MyAnnotation.GetParameterAngle(ParameterName)
Notify("Parameter Name ", IndexListParameterNames," = ", ParameterName, " # Parameter Type = ", ParameterType, " # Parameter Value == ", ParameterAngle)
}
if (ParameterType == "LENGTH")
{
ParameterLength = MyAnnotation.GetParameterLength(ParameterName)
Notify("Parameter Name ", IndexListParameterNames," = ", ParameterName, " # Parameter Type = ", ParameterType, " # Parameter Value == ", ParameterLength)
}
if (ParameterType == "Boolean")
{
ParameterBoolean = MyAnnotation.GetParameterBoolean(ParameterName)
Notify("Parameter Name ", IndexListParameterNames," = ", ParameterName, " # Parameter Type = ", ParameterType, " # Parameter Value == ", ParameterBoolean)
}
}
}
}
}
ASDAttributeSetInheritance PathObjectType Feature ASDAttributeSet MethodsThe following methods are associated with this type:
ASDAutomationProcessContextInheritance PathObjectType Feature ASDAutomationProcessContext ASDBoxInheritance PathObjectType Feature ASDBox MethodsThe following methods are associated with this type: IsFullyInside ASDDressupInheritance PathObjectType Feature ASDDressup ASDDressupTemplateInheritance PathObjectType Feature ASDDressupTemplate ASDGenerativeTableInheritance PathObjectType Feature ASDGenerativeTable MethodsThe following methods are associated with this type: QueryTableDataUsingOccurrence ASDHorizontalAlignmentViewInheritance PathObjectType Feature ASDView ASDAlignmentView ASDHorizontalAlignmentView ASDSheetInheritance PathObjectType Feature ASDSheet Attributes
ASDSheetTemplateInheritance PathObjectType Feature ASDSheetTemplate ASDSheetZoneInheritance PathObjectType Feature ASDSheetZone ASDSlopeAnnotationInheritance PathObjectType Feature ASDAnnotation ASDSlopeAnnotation ExampleASDSpecAbstractInheritance PathObjectType Feature ASDSpecAbstract ASDSpecAlignmentSectionViewInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract ASDSpecGenViewAbstract ASDSpecAlignmentView ASDSpecAlignmentSectionView ExampleASDSpecAlignmentViewInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract ASDSpecGenViewAbstract ASDSpecAlignmentView MethodsThe following methods are associated with this type: ASDSpecDrawingInheritance PathObjectType Feature ASDSpecAbstract ASDSpecDrawingAbstract ASDSpecDrawing ASDSpecDrawingAbstractInheritance PathObjectType Feature ASDSpecAbstract ASDSpecDrawingAbstract Attributes
ASDSpecFrontViewInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract ASDSpecGenViewAbstract ASDSpecFrontView MethodsThe following methods are associated with this type: ASDSpecGenViewAbstractInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract ASDSpecGenViewAbstract MethodsThe following methods are associated with this type: ASDSpecHorizontalAlignmentViewInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract ASDSpecGenViewAbstract ASDSpecAlignmentView ASDSpecHorizontalAlignmentView MethodsThe following methods are associated with this type: ASDSpecSheetInheritance PathObjectType Feature ASDSpecAbstract ASDSpecSheetAbstract ASDSpecSheet ASDSpecSheetAbstractInheritance PathObjectType Feature ASDSpecAbstract ASDSpecSheetAbstract Attributes
MethodsThe following methods are associated with this type: GetParentDrawing ASDSpecStructuralViewInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract ASDSpecGenViewAbstract ASDSpecStructuralView MethodsThe following methods are associated with this type: ASDSpecVerticalAlignmentViewInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract ASDSpecGenViewAbstract ASDSpecAlignmentView ASDSpecVerticalAlignmentView ASDSpecViewAbstractInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewAbstract Attributes
MethodsThe following methods are associated with this type: ASDSpecViewBoxInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewBox MethodsThe following methods are associated with this type: ASDSpecViewPositionAlignmentInheritance PathObjectType Feature ASDSpecAbstract ASDSpecViewPositionAlignment MethodsThe following methods are associated with this type: ASDStructuralViewInheritance PathObjectType Feature ASDView ASDStructuralView MethodsThe following methods are associated with this type: IsAMasterElement ASDTableTemplateInheritance PathObjectType Feature ASDTableTemplate ASDVerticalAlignmentViewInheritance PathObjectType Feature ASDView ASDAlignmentView ASDVerticalAlignmentView MethodsThe following methods are associated with this type: ASDVerticalAlignmentView.CreateOrReplaceBandTable() ASDViewASDViewTemplateInheritance PathObjectType Feature ASDViewTemplate Attributes
ASDZoneItemInheritance PathObjectType Feature ASDZoneItem Attributes
AnchorPointEnumInheritance PathObjectType Literal Enumere AnchorPointEnum Enumerated Values
|