SilverScreen Solid Modeler

Notation        

Notation        

Previous topic Next topic  

Notation        

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

Notation

 

 


Notation is an enumeration that specifies a set of symbolic names that can be used by the SilverSharp routines which expect a notation type.



 

C# Code

 

 enum Notation

    {

    Science = 1,

    Decimal,

    Engineer,

    Architect,

    Fractional,

    };

 

 


Members

Name

Description

Architect

Represents architectural notation (i.e. 3’9_29/32")

Decimal

Represents decimal notation (i.e. 3.825')

Engineer

Represents engineering notation (i.e. 3’9.9")

Fractional

Represents fractional notation (i.e. 3_13/16')

Science

Represents scientific notation (i.e. 3.825e0')

 

 

Example

The following code shows how a Notation enumeration is used

 

C# Code

 

 usign SilverSharp;

 

 . . .

 

 SS_XYZ p1 = new SS_XYZ(5.0,6.0,7.0);

 

 SC.ss_command("note p1 is {0}",

                p1.ToString(Notation.Architect, UnitsOfMeasure.Inches));

 

 

See also

Enumerations