EntityClass

The EntityClass class represents an entity class.

Fields

Field

Type

Description

name

string

The class name.

builtIn

boolean

Read only. True if the domain is built-in and therefore cannot be modified.

color

The background color behind the class title.

weight

number

The default weight for new edges created along with entities of this class, as a value between -1.0 and 1.0.

symbol

The symbol inherited by new entities of this class.

milestone

boolean

True if entities derived from this class should be a milestone (zero effort) task, otherwise False.

resourceAssignment

The default resource assignment for entities derived from this class should be a milestone (zero effort) task, otherwise False.

effort

This field is deprecated and can return different values than Flying Logic 2. Milestones have a value of 0.0, otherwise 28800.0 (8 hours in seconds).

showName

boolean

True if the class name should be shown, defaults to True.

domain

Read only. The parent domain of this class.

nameColor

Read only. The color that the name of the entity class would be rendered in an entity.

Methods

duplicate( )

Creates and returns a unique duplicate of this class with the name modified to include “copy,” as an EntityClass.

Last updated