Table of Contents

Class IndexContents

Namespace
Autodesk.ACC.ModelProperties.Models
Assembly
Autodesk.ACC.ModelProperties.dll

Parameters to control content within the Index

public class IndexContents : IParsable
Inheritance
IndexContents
Implements
IParsable
Inherited Members

Properties

CompositeMode

composite handling/filtering mode

public CompositeMode? CompositeMode { get; set; }

Property Value

CompositeMode?

IncludeCustomProperties

Whether to include "Custom Properties" in the Index. Set to false or omit if Custom Properties not required since that will affect Index performance. Setting to 'true' implicitly sets 'visibleItemsOnly' to 'true'.

public bool? IncludeCustomProperties { get; set; }

Property Value

bool?

VisibleItemsOnly

Whether to limit the Index to only "3D visible" items. Recommended when possible to improve Index and Query performance.

public bool? VisibleItemsOnly { get; set; }

Property Value

bool?

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static IndexContents CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

IndexContents

A IndexContents

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model