|
![]() |
Schema definitions are used to define data structures that are then created as schema data objects for use with various Navisworks API calls.
Namespace: Autodesk.Navisworks.Api.Schema
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Class SchemaDefinition _ Inherits NativeHandle |
C# |
---|
public class SchemaDefinition : NativeHandle |
Visual C++ |
---|
public ref class SchemaDefinition : public NativeHandle |
Remarks
By composing together one or more fields which act as type definitions, schema definitions represent a known collection of associated properties. For example, one might create a schema to represent the sum of data on a given ModelItem, or a particular subset of that data.
Schema definitions can be thought of as similar to NET classes, with fields as properties, or equivalent to the names in a JSON object's set of name/value pairs. Definitions are used to create efficient SchemaData representations, akin to actual NET or JSON objects that hold real data. Schema definitions are immutable once in use, and are built using Schema Builders.
Structurally identical to StructField.
Inheritance Hierarchy
System..::..Object
Autodesk.Navisworks.Api..::..NativeHandle
Autodesk.Navisworks.Api.Schema..::..SchemaDefinition
Autodesk.Navisworks.Api..::..NativeHandle
Autodesk.Navisworks.Api.Schema..::..SchemaDefinition