SilverScreen Solid Modeler

MODEL_NODE

MODEL_NODE

Previous topic Next topic  

MODEL_NODE

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

SilverSharp.MODEL_NODE

 

Structure

A SilverSharp.MODEL_NODE stores the properties of a model for use by the symbol system.

 

 

 

C# Code

 

 class MODEL_NODE

    {

    [System.Flags]

    enum ModelBits

       {

       BITS_MODEL      = 0X0001,

       BITS_FONT       = 0X0030,

       BITS_FONT3      =    0X0010,

       BITS_FONT2      =    0X0020,

       BITS_PATTERN    = 0X0040,

       BITS_GENERIC    = 0x0100,

       };    

       

    property ModelBits  bits          { get; }

    property string     name          { get; }

    property string     library_name  { get; }

    property BLOCK_NODE root          { get; }

    property SS_XYZ     high          { get; }

    property SS_XYZ     low           { get; }

 

    string ToString();

    };

 

 

 

Properties

The following read-only properties mimic the purpose of their counter-parts in the SilverC MODEL_NODE data type:

 

Member

Description

high

maximum values of the model in model space

library_name

name of the library containing the model

low

minimum values of the model in model space

name

name of the model.

root

block containing the geometry for the model

 

The following read-only properties extend MODEL_NODE for SilverSharp:

 

Member

Description

bits

A bit-flag whose meaning is as follows:

 

Name

Description

BITS_MODEL

The MODEL_NODE is from a model library

BITS_FONT

The MODEL_NODE is a font character

  BITS_FONT2

The MODEL_NODE is a 2D font character

  BITS_FONT3

The MODEL_NODE is a 3D font character

BITS_PATTERN

The MODEL_NODE is a pattern from a pattern library

BITS_GENERIC

The MODEL_NODE units are generic, otherwise they are in inches.

 

 

Methods

Member

Description

ToString

Formats the MODEL_NODE as a string

 

 

See Also

SYMBOL_NODE, SilverC MODEL_NODE