## Primitive

Object Hierarchy | Related C++ Class: Primitive

### Inheritance

###

SIObject

ProjectItem

Primitive

### Description

Represents the primitive object of a X3DObject, a primitive is the basic form that is the building block of modeling and animation. Primitive can be created with X3DObject.ActivePrimitive.

### Methods

AddCustomOp | AddICEAttribute | AddScriptedOp | AddScriptedOpFromFile
AnimatedParameters2 | BelongsTo | EvaluateAt | GetGeometry2
GetGeometry3 | GetICEAttributeFromName | IsA | IsAnimated2
IsClassOf | IsEqualTo | IsKindOf | IsLocked
IsSelected | LockOwners | RemoveICEAttribute | SetAsSelected
SetCapabilityFlag | SetLock | TaggedParameters | UnSetLock

### Properties

Application | BranchFlag | Capabilities | Categories
ConstructionHistory | EvaluationID | Families | FullName
Geometry | Help | HierarchicalEvaluationID | ICEAttributes
ICETrees | LockLevel | LockMasters | LockType
Model | Name | NestedObjects | ObjectID
Origin | OriginPath | Owners | PPGLayout
Parameters | Parent | Parent3DObject | Selected
Type |  |  |

### Examples

#### VBScript Example

    set x3dObj = Application.ActiveProject.ActiveScene.Root.AddNull

    Application.LogMessage TypeName(x3dObj.ActivePrimitive)