EditFaceCS

Recreates an existing face coordinate system. See: CreateFaceCS.

UI Access Modeler > Coordinate System > Edit.
Parameters
Name Type Description

<Parameters>

Array

Structured array. 

Array("NAME:FaceCSParameters",

<OriginArray>,

"MoveToEnd:=", <boolean>,

"FaceID:=", <integer>,

<AxisPosnArray>,

"WhichAxis:=" , <string "X", "Y", or "Z">,

"ZRotationAngle:=" , <string>,

"XOffset:=" , <string>,

"YOffset:=" , <string>,

"AutoAxis:=" , <boolean>)

     <OriginArray> Array Structured array.

Array("NAME:Origin",

"IsAttachedToEntity:=" , <boolean>,

"EntityID:=" , <integer>,

"FacetedBodyTriangleIndex:=", <integer>,

"TriangleVertexIndex:=" , <integer>,

"PositionType:=" , <string "FaceCenter", "EdgeCenter", "OnVertex", "OnEdge", or "OnFace">,

"UParam:=" , <float between 0 and 1 representing the relative position of the point on the edge or face>,

"VParam:=" , <float between 0 and 1 representing the relative position of the point on the edge or face>,

"XPosition:=" , <string>,

"YPosition:=" , <string>,

"ZPosition:=" , <string>)

IsAttachedToEntity specifies whether the point is anchored to a vertex, edge, or face. If True, provide UParam and VParam. If False, provide XPosition, YPosition, and ZPosition to provide fixed position. Pass "0" for unused parameters.

     <AxisPosnArray> Array Structured array.

Array("NAME:AxisPosn",

"IsAttachedToEntity:=" , <boolean>,

"EntityID:=" , <integer>,

"FacetedBodyTriangleIndex:=", <integer>,

"TriangleVertexIndex:=" , <integer>,

"PositionType:=" , <string "FaceCenter", "EdgeCenter", "OnVertex", "OnEdge", or "OnFace">,

"UParam:=" , <float>,

"VParam:=" , <float>,

"XPosition:=" , <string>,

"YPosition:=" , <string>,

"ZPosition:=" , <string>)

<AttributesArray> Array Structured array. See: AttributesArray. Use to select the coordinate system to edit.
Return Value None.

Python Syntax

EditFaceCS (<Parameters>, <AttributesArray>)

Python Example

oEditor.EditFaceCS(

["NAME:FaceCSParameters",

["NAME:Origin",

"IsAttachedToEntity:=" , True,

"EntityID:=" , 12,

"FacetedBodyTriangleIndex:=", -1,

"TriangleVertexIndex:=" , -1,

"PositionType:=" , "FaceCenter",

"UParam:=" , 0,

"VParam:=" , 0,

"XPosition:=" , "0",

"YPosition:=" , "0",

"ZPosition:=" , "0"

],

"MoveToEnd:=" , False,

"FaceID:=" , 12,

["NAME:AxisPosn",

"IsAttachedToEntity:=" , True,

"EntityID:=" , 12,

"FacetedBodyTriangleIndex:=", -1,

"TriangleVertexIndex:=" , -1,

"PositionType:=" , "OnFace",

"UParam:=" , 0.62951717774066,

"VParam:=" , 0.226514925559344,

"XPosition:=" , "1200mm",

"YPosition:=" , "-354.697014888131mm",

"ZPosition:=" , "125.903435548132mm"

],

"WhichAxis:=" , "X",

"ZRotationAngle:=" , "0deg",

"XOffset:=" , "0mm",

"YOffset:=" , "0mm",

"AutoAxis:=" , False

],

["NAME:Attributes",

"Name:=" , "FaceCS1",

"PartName:=" , "Box1"

])