Sys3DPathwayBranch.CreatePathwayBranchPoint()
This
method lets you create a branch point.
Signature
Sys3DPathwayBranch.CreatePathwayBranchPoint(ControlPoint : CATEbm_ControlPoint, PathwayBranchPoint : CATEbm_BranchPoint) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ControlPoint |
In |
|
CATEbm_ControlPoint |
-
|
PathwayBranchPoint |
Out |
|
CATEbm_BranchPoint |
-
|
ReturnType
Integer
The result values are as follows:
- 0: The pathway created is successfully. The fix branch point is createdand is
referring to the input control point. The type is available in
3DRouteParametricModelerType EKL package. .
- 1: The input control point does not belong the pathway.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.CreatePathwayBranchPoints()
This
method lets you create a list of branch points.
Signature
Sys3DPathwayBranch.CreatePathwayBranchPoints(ListControlPoint : List, ListPathwayBranchPoint : List) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ListControlPoint |
In |
|
List |
-
|
ListPathwayBranchPoint |
Out |
|
List |
-
|
Sys3DPathwayBranch.GetExtremities()
This function lists all the segments of the pathway branch.
Signature
Sys3DPathwayBranch.GetExtremities(StartExtremity : Sys3DPathwaySegmentExtremity, EndExtremity : Sys3DPathwaySegmentExtremity) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
StartExtremity |
Out |
|
Sys3DPathwaySegmentExtremity |
Extremity
at the start of the branch |
EndExtremity |
Out |
|
Sys3DPathwaySegmentExtremity |
Extremity
at end of the branch |
ReturnType
Integer
The result values are as follows:
- 0: The function is successful and pathway extremities are found.
- 1: The function failed.
Sys3DPathwaySegment.GetExtremities()
This function lists all the segments of the pathway branch.
Signature
Sys3DPathwaySegment.GetExtremities(StartExtremity : Sys3DPathwaySegmentExtremity, EndExtremity : Sys3DPathwaySegmentExtremity) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
StartExtremity |
Out |
|
Sys3DPathwaySegmentExtremity |
Extremity
at the start of the segment |
EndExtremity |
Out |
|
Sys3DPathwaySegmentExtremity |
Extremity
at the end of the segment |
ReturnType
Integer
The result values are as follows:
- 0: The function is successful and segment extremities are found.
- 1: The function failed.
Sys3DPathwaySegment.SetProfile()
Signature
Sys3DPathwaySegment.SetProfile(ProfileType : CATEbm_ReferenceProfileTypeEnum, Profile : CATEbm_ReferenceProfile) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ProfileType |
In |
|
CATEbm_ReferenceProfileTypeEnum |
Profile
type to be set on the segment |
Profile |
Out |
|
CATEbm_ReferenceProfile |
Updated reference profile |
You can get the dedicated profile type (CATEbm_CircularProfile,
CATEbm_RectangularProfile, CATEbm_EllipticalProfile or CATEbm_FlatOvalProfile) from the
output, to modify the dimensions.
ReturnType
Integer
The result values are as follows:
- 0: The function is successful and the profile is updated.
- 1: The input type is not supported.
- 2: The function failed.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.ListPathwaySegments()
Signature
Sys3DPathwayBranch.ListPathwaySegments(ListPathwaySegments : List) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ListPathwaySegments |
Out |
|
List |
Lists
all the segments of the pathway branch |
ReturnType
Integer
The result values are as follows:
- 0: The function is successful and some pathway segments are found.
- 1: The function failed.
Sys3DPathwayBranch.RemoveLocalProfile()
Signature
Sys3DPathwayBranch.RemoveLocalProfile(Node : CATEbm_ControlPoint) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Node |
In |
|
CATEbm_ControlPoint |
Node where the local profile is to be removed |
ReturnType
Integer
The result values are as follows:
- 0: The function is successful and the profile is removed.
- 1: There is no local profile defined
- 2: The input control point is referred by a branch point, since the profile cannot
be removed at branch point.
- 3: The function failed.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.SetBendRadius()
This
method lets you define the bend radius of a pathway.
Signature
Sys3DPathwayBranch.SetBendRadius(BendRadius : LENGTH) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
BendRadius |
In |
|
LENGTH |
-
|
ReturnType
Integer
The result values are as follows:
- 0: The bend radius is successfully updated.
- 1: The method failed.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.SetGlobalProfile()
Signature
Sys3DPathwayBranch.SetGlobalProfile(ProfileType : CATEbm_ReferenceProfileTypeEnum, Profile : CATEbm_ReferenceProfile) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ProfileType |
In |
|
CATEbm_ReferenceProfileTypeEnum |
Profile type to set |
Profile |
Out |
|
CATEbm_ReferenceProfile |
Updated
reference profile |
You can get the dedicated profile type (CATEbm_CircularProfile,
CATEbm_RectangularProfile, CATEbm_EllipticalProfile or CATEbm_FlatOvalProfile) from the
output to modify the dimensions.
ReturnType
Integer
The result values are as follows:
- 0: The function is successful and the profile is updated.
- 1: The input type is not supported.
- 2: The function fails.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.SetLocalBendRadius()
This
method allow you to define local bend radius for a pathway branch.
Signature
Sys3DPathwayBranch.SetLocalBendRadius(ControlPoint : CATEbm_ControlPoint, BendRadius : LENGTH) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ControlPoint |
In |
|
CATEbm_ControlPoint |
-
|
BendRadius |
In |
|
LENGTH |
-
|
Sys3DPathwayBranch.SetLocalProfile()
Signature
Sys3DPathwayBranch.SetLocalProfile(ControlPoint : CATEbm_ControlPoint, ProfileType : CATEbm_ReferenceProfileTypeEnum, Profile : CATEbm_NodeProfile, ReferenceProfile : CATEbm_ReferenceProfile]) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ControlPoint |
In |
|
CATEbm_ControlPoint |
Control point on which the profile is to be set |
ProfileType |
In |
|
CATEbm_ReferenceProfileTypeEnum |
Profile type to set |
Profile |
Out |
|
CATEbm_NodeProfile |
Updated node profile at the control point |
ReferenceProfile |
In |
|
CATEbm_ReferenceProfile |
Input reference profile, if the same reference profile is to
be used for the input control point node profile. By default, the node profile
will have a dedicated reference profile. |
ReturnType
Integer
The method can return one of the following values:
- 0: The function is successful and the profile is updated.
- 1: The input type is not supported.
- 2: The input control point does not belong to the pathway branch or the control
point is a branch point.
- 3: The input reference profile does not belong to the pathway branch.
- 4: The function failed.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.SetLocalProfile()
Signature
Sys3DPathwayBranch.SetLocalProfile(BranchPoint : CATEbm_BranchPoint, Segment : Sys3DPathwaySegment, ProfileType : CATEbm_ReferenceProfileTypeEnum, Profile : CATEbm_NodeProfile, LinkProfile : Boolean]) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
BranchPoint |
In |
|
CATEbm_BranchPoint |
Branch
point on which the profile is to be set |
Segment |
In |
|
Sys3DPathwaySegment |
Segment of the branch point where the profile is to be
set |
ProfileType |
In |
|
CATEbm_ReferenceProfileTypeEnum |
Profile
type to set |
Profile |
Out |
|
CATEbm_NodeProfile |
Updated node profile at the control point |
LinkProfile |
In |
|
Boolean |
Boolean
to indicate if the profiles at branch point to be linked |
ReturnType
Integer
The method can return one of the following values:
- 0: The function is successful and the profile is updated.
- 1: The input type is not supported.
- 2: The input control point does not belong to the pathway branch.
- 3: The input segment is not starting or ending on the input branch point.
- 4: The function failed.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.SetReferenceLine()
Signature
Sys3DPathwayBranch.SetReferenceLine(PathwayGeometry : Sys3D_PathwayGeometryOccurrence, NodeProfile : CATEbm_NodeProfile, ReferenceOccurrence : ProductOccurrence, ReferenceLine : Feature) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
PathwayGeometry |
In |
|
Sys3D_PathwayGeometryOccurrence |
Pathway geometry occurrence |
NodeProfile |
In |
|
CATEbm_NodeProfile |
Node profile at which the reference line is to be set for the
rotation. |
ReferenceOccurrence |
In |
|
ProductOccurrence |
Occurrence with the reference line |
ReferenceLine |
In |
|
Feature |
Reference
line to be set |
ReturnType
Integer
The method can return one of the following values:
- 0: The function is successful and the profile is updated.
- 1: The input node profile does not belong to the pathway branch.
- 2: The function failed.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranch.SetRotationAngle()
Signature
Sys3DPathwayBranch.SetRotationAngle(NodeProfile : CATEbm_NodeProfile, Angle : ANGLE) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
NodeProfile |
In |
|
CATEbm_NodeProfile |
Node profile at which the rotation is to be modified |
Angle |
In |
|
ANGLE |
Angle of the rotation to be set |
ReturnType
Integer
The method can return one of the following values:
- 0: The function is successful and the profile is updated.
- 1: The input control point does not belong to the pathway branch.
- 2: The function failed.
- 98: An update error of the pathway occurs.
Sys3DPathwayBranchAnnotation.GetBendRadius()
This
method retrieves the bend radius of a pathway branch saved in a light model.
Signature
Sys3DPathwayBranchAnnotation.GetBendRadius(BendRadius : LENGTH) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
BendRadius |
Out |
|
LENGTH |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwayBranchAnnotation.GetClassificationID()
This
method retrieves the classification ID attribute of a pathway branch saved in a light
model.
Signature
Sys3DPathwayBranchAnnotation.GetClassificationID(ClassificationID : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClassificationID |
Out |
|
String |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwayBranchAnnotation.GetDiscipline()
This
method retrieves the discipline attribute of a pathway branch saved in a light
model.
Signature
Sys3DPathwayBranchAnnotation.GetDiscipline(Discipline : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Discipline |
Out |
|
String |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwayBranchAnnotation.GetLength()
This
method retrieves the length of a pathway branch saved in a light model.
Signature
Sys3DPathwayBranchAnnotation.GetLength(Length : LENGTH) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Length |
Out |
|
LENGTH |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwayBranchAnnotation.GetName()
This
method retrieves the name of a pathway branch saved in a light model.
Signature
Sys3DPathwayBranchAnnotation.GetName(Name : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Name |
Out |
|
String |
-
|
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwaySegmentAnnotation.GetClassificationID()
retrieves
the classification ID attribute of a pathway segment saved in a light model.
Signature
Sys3DPathwaySegmentAnnotation.GetClassificationID(ClassificationID : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClassificationID |
Out |
|
String |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwaySegmentAnnotation.GetDiscipline()
This
method retrieves the discipline attribute of a pathway segment saved in a light
model.
Signature
Sys3DPathwaySegmentAnnotation.GetDiscipline(Discipline : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Discipline |
Out |
|
String |
-
|
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwaySegmentAnnotation.GetLength()
This
method retrieves the length of a pathway segment saved in a light model.
Signature
Sys3DPathwaySegmentAnnotation.GetLength(Length : LENGTH) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Length |
Out |
|
LENGTH |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3DPathwaySegmentAnnotation.GetName()
This
method retrieves the name of a pathway segment saved in a light model.
Signature
Sys3DPathwaySegmentAnnotation.GetName(Name : String) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
Name |
Out |
|
String |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3D_PathwayGeometry.SetClassification()
This
method sets the classification ID on a pathway geometry.
Signature
Sys3D_PathwayGeometry.SetClassification(ClassificationID : String, PropagateClassId : Boolean) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
ClassificationID |
In |
|
String |
Classification ID to set on pathway geometry. |
PropagateClassId |
In |
|
Boolean |
Boolean to propagate class id to pathway branch and pathway
segments. |
ReturnType
Integer
The result values are as follows:
- 0: The method is successful and ClassId is set.
- 1: The input string is not validated through classification table.
- 2: Any other type of failure.
Sys3D_PathwayGeometryOccurrence.CreatePathwayBranch()
This
method allows you to create a pathway branch.
Signature
Sys3D_PathwayGeometryOccurrence.CreatePathwayBranch(PathwayGeometry : Sys3D_PathwayGeometryOccurrence, ListRouteElements : List, Pathway : Sys3DPathwayBranch, EquivalentDiameter: Length) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
PathwayGeometry |
In |
|
Sys3D_PathwayGeometryOccurrence |
Pathway geometry in which the pathway branch will be
created. |
ListRouteElements |
In |
|
List |
The
ordered
list of the route elements created using methods described above are used as input
to create a pathway branch. Note:
The route element for volume and
pathway must be at the first or last positon in list because they cannot be
routed at intermediate position in a pathway.
|
Pathway |
Out |
|
Sys3DPathwayBranch |
Created
pathway branch. |
EquivalentDiameter |
In |
|
Length |
Diameter to set while creating a pathway branch. |
ReturnType
Integer
The result values are as follows:
- 0: The pathway branch is successfully updated.
- 1: The list of route elements is empty or invalid.
- 2: The input diameter is not of length type.
- 3: The method fails due to another reason.
- 98: An update error of the pathway occurs.
Note:
This method modify existing empty pathway branches, which do not have any
route element yet, in the pathway geometry. This ensures that none of the pathway branches
remain empty even if they are created through an EKL method.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
Sys3D_PathwayGeometryOccurrence.GetAnnotationFeature()
This method allows you to a light model from a pathway geometry
occurrence.
Signature
Sys3D_PathwayGeometryOccurrence.GetAnnotationFeature(UUID : String, Annotation Feature : Sys3DAnnotation) : Integer
Arguments
| Name |
Input/Output |
Required? |
Type |
Comment |
UUID |
In |
|
String |
-
|
Annotation Feature |
Out |
|
Sys3DAnnotation |
-
|
ReturnType
Integer
The method can return one of the following values:
- 0: The feature information was found in the light model.
- 1: The function failed.
Example
let PathwaAnnotationFeature(Sys3DAnnotation)
let AnnotationFeature(Sys3DAnnotation)
let PathwayAnnotationFeature(Sys3DPathwayBranchAnnotation)
let SegmentAnnotationFeature(Sys3DPathwaySegmentAnnotation)
let PathwayName(string)
let PathwayClassID(string)
let PathwayDiscipline(string)
let PathwayBendRadius(length)
let PathwayLength(length)
let PathwaySegmentName(string)
let PathwaySegmentClassID(string)
let PathwaySegmentDiscipline(string)
let PathwaySegmentBendRadius(length)
let PathwaySegmentLength(length)
let sMsg (STRING)
// Get the annotation feature for ID = 02107ED54DC300003E3461137A480005376A
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A480005376A",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
sMsg = "Found Pathway annotation feature"
set PathwayAnnotationFeature = AnnotationFeature
if(NULL <>PathwayAnnotationFeature)
{
PathwayAnnotationFeature->GetName(PathwayName)
PathwayAnnotationFeature->GetClassificationID(PathwayClassID)
PathwayAnnotationFeature->GetDiscipline(PathwayDiscipline)
PathwayAnnotationFeature->GetBendRadius(PathwayBendRadius)
PathwayAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Pathway Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayBendRadius+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
set AnnotationFeature = NULL
// Get the annotation feature for ID = 02107ED54DC300003E3461137A48000537C2
ThisObject->GetAnnotationFeature("02107ED54DC300003E3461137A48000537C2",AnnotationFeature)
if(NULL<>AnnotationFeature)
{
set sMsg = sMsg + "Found Pathway annotation feature \n"
set SegmentAnnotationFeature = AnnotationFeature
if(NULL <>SegmentAnnotationFeature)
{
SegmentAnnotationFeature->GetName(PathwayName)
SegmentAnnotationFeature->GetClassificationID(PathwayClassID)
SegmentAnnotationFeature->GetDiscipline(PathwayDiscipline)
SegmentAnnotationFeature->GetLength(PathwayLength)
set sMsg = sMsg + "Segment Attribute : \n"
set sMsg = sMsg + PathwayName+ ", "
set sMsg = sMsg + PathwayClassID+ ", "
set sMsg = sMsg + PathwayDiscipline+ ", "
set sMsg = sMsg + PathwayLength+ ", "
}
}
Notify(sMsg)
|