Class RenderContent

Hierarchy (view full)

Constructors

Properties

autoDelete: boolean
childSlotName: string
groupId: string
hidden: boolean
id: string
isChild: boolean
isSystemComponent: boolean

True if this model component is a system constant. An incomplete list of system constant model components is below:ON_ModelComponent::Unset ON_InstanceDefinition::Empty ON_Linetype::UnsetON_Linetype::ContinuousON_Linetype::ByLayerON_Linetype::ByParent ON_Layer::UnsetON_Layer::Default ON_TextStyle::UnsetON_TextStyle::DefaultON_TextStyle::ByLayerON_TextStyle::ByParent ON_DimStyle::UnsetON_DimStyle::DefaultON_DimStyle::DefaultInchDecimalON_DimStyle::DefaultInchFractionalON_DimStyle::DefaultFootInchArchitectureON_DimStyle::DefaultMillimeterSmallON_DimStyle::DefaultMillimeterLargeON_DimStyle::DefaultMillimeterArchitecture

isTopLevel: boolean
isValid: boolean

Tests an object to see if it is valid.

isValidWithLog: [boolean, string]

...

kind: string
name: string
notes: string
plugInId: string
reference: boolean
renderEngineId: string
tags: string
typeId: string
typeName: string
userStringCount: number

Gets the amount of user strings.

Methods

  • ...

    Parameters

    • child_slot_name: string

    Returns number

  • ...

    Parameters

    • child_slot_name: string

    Returns boolean

  • Parameters

    • currentRemainder: number

      The current remainder value.

    Returns number

    The updated remainder value.

    Description

    Increments the Cyclic Redundancy Check value by this instance.

  • ...

    Parameters

    • child_slot_name: string

    Returns boolean

  • ...

    Parameters

    • parameter: string

    Returns string

  • Parameters

    • key: string

      id used to retrieve the string.

    Returns string

    string associated with the key if successful. null if no key was found.

    Description

    Gets user string from this geometry.

  • ...

    Parameters

    • recursive: boolean

    Returns string

  • ...

    Parameters

    • amount: number
    • child_slot_name: string

    Returns boolean

  • ...

    Parameters

    • on: boolean
    • child_slot_name: string

    Returns boolean

  • ...

    Parameters

    • key: string
    • value: string

    Returns boolean

  • ...

    Parameters

    • name: string

    Returns void

  • Parameters

    • key: string

      id used to retrieve this string.

    • value: string

      string associated with key.

    Returns boolean

    true if successful, false if not.

    Description

    Attach a user string (key,value combination) to this geometry.

  • Parameters

    • json: object

      A json formatted object in the following format (values are orientative):

      {
      version: 10000,
      archive3dm: 60,
      opennurbs: -1877964208,
      data: 'encoded 3dm object data'
      }

    Returns CommonObject

    Description

    Decodes a Rhino Object

Generated using TypeDoc