BasicWireframePackage (no NLS) Methods

You can crate methods using Business Process Knowledge Template app.
For more information on how to create functions and methods, see Business Process Knowledge Template User's Guide: About Knowledgeware Functions and Methods.
The method is written in the Knowledgeware language. For more information on this language, see the Knowledge Advisor User's Guide.

 
  • Point.coord (rank: Integer, optionalAxisSystem: AxisSystem): Length
    Retrieves the nth coordinate of the point, where n is an input argument (n = 1, 2 or 3).
    Example:
    //example not using the AxisSystem functionality to show that ‘optionalAxisSystem’ is optional
    let x (LENGTH)
    let y (LENGTH)
    let z (LENGTH)
    set x = PartBody\Point.1.coord(1)
    set y = PartBody\Point.1.coord(2)
    set z = PartBody\Point.1.coord(3)
    x = 5*x
    set PartBody\Point.3 = point(x,y,z)
    //example using the AxisSystem functionality
    let x1 (LENGTH)
    let y1 (LENGTH)
    let z1 (LENGTH)
    set x1 = PartBody\Point.1.coord(1, PartBody\Axis System.1)
    set y1 = PartBody\Point.1.coord(2, PartBody\Axis System.1)
    set z1 = PartBody\Point.1.coord(3, PartBody\Axis System.1)
    x1 = 5*x1
    set PartBody\Point.3 = point(x1,y1,z1)
  • Point.coord (x: Length, y: Length, z: Length, optionalAxisSystem: AxisSystem): Length
    Retrieves the three coordinates of the point.
    Example:
    //example not using the AxisSystem functionality to show that ‘optionalAxisSystem’ is optional
    let x (LENGTH)
    let y (LENGTH)
    let z (LENGTH)
    PartBody\Point.1.coord(x, y, z)
    y = 5*y
    set PartBody\Point.2 = point(x,y,z)
    //example using the AxisSystem functionality
    let x1 (LENGTH)
    let y1 (LENGTH)
    let z1 (LENGTH)
    PartBody\Point.1.coord(x1, y1, z1, PartBody\Axis System.1)
    y1 = 5*y1
    set PartBody\Point.2 = point(x1,y1,z1)