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 operator EvaluateAt GetGeometry2
GetGeometry3 GetICEAttributeFromName IsA IsAnimated2
IsClassOf operator IsEqualTo operator IsKindOf IsLocked operator
IsSelected operator LockOwners RemoveICEAttribute SetAsSelected operator
SetCapabilityFlag operator SetLock TaggedParameters UnSetLock

Properties

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

Examples

VBScript Example

set x3dObj = Application.ActiveProject.ActiveScene.Root.AddNull
Application.LogMessage TypeName(x3dObj.ActivePrimitive)