SilverScreen Solid Modeler

TAG_NODE

TAG_NODE

Previous topic Next topic  

TAG_NODE

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

SilverSharp.TAG_NODE

 

Structure

A SilverSharp.TAG_NODE object stores information about SilverScreen named tags

 

 

 

C# Code

 

 class TAG_NODE

    {

    enum TagTypes

       {

       DOUBLE_TAG = 1,

       XYZ_TAG    = 2,

       TEXT_TAG   = 3,

       };

 

    property string   name  { get; }

    property TagTypes type  { get; }

 

    property double tag_double { get; }

    property SS_XYZ tag_xyz    { get; }

    property string tag_text   { get; }

 

    property TAG_NODE next_tag { get; }

 

    string ToString();

    };

 

 

 

Properties

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

 

Name

Description

name

The name of the tag, which must be unique to the entity that contains it.

next_tag

The next sibling TAG_NODE of the entity host

type

Indicates data type of tag as follows:

 

Constant

Meaning

DOUBLE_TAG

The tag stores a double-precision floating-point value

XYZ_TAG

The tag stores a 3D point

TEXT_TAG

The tag stores a string of text

 

The following read-only properties extend TAG_NODE for SilverSharp:

 

Name

Description

tag_double

A floating-point double-precision value that is associated with the tag when type is DOUBLE_TAG

tag_text

A System.String object that is associated with the tag when type is TEXT_TAG.

tag_xyz

A 3D point that is associated with the tag when type is XYZ_TAG

 

 

Remarks

SilverC TAG_NODEs contained a union called tag that does not exist in the SilverSharp object. The property 'tag_double' replaces 'tag.tag_double'. The property 'tag_xyz' replaces 'tag.tag_xyz'. The property 'tag_text' replaces 'tag.tag_text'.

 

 

See Also

BLOCK_NODE, OBJECT_NODE, SilverC TAG_NODE