Skip to main content

Motion Standalone Preprocessor C# library 2025 R2

Class TopologyColorInfo

Last update: 16.07.2025

Namespace: VM.Managed.CAD
Assembly: VMAppCore.dll

This class is to represent the color information of topology.

public class TopologyColorInfo

Inheritance

objectTopologyColorInfo

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

TopologyColorInfo()

Initializes a new instance of the class

public TopologyColorInfo()

Properties

ColorInfo

Gets the color information.

public Dictionary<int color> ColorInfo { get; }

Property Value

Dictionaryint, Color&gt;

Methods

GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

public virtual XmlSchema GetSchema()

Returns

XmlSchema

An that describes the XML representation of the object that is produced by the method and consumed by the method.

ReadXml(XmlReader)

Generates an object from its XML representation.

public virtual void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The XmlReader stream from which the object is deserialized.

SetColor(Builder, int[], Color)

Sets the color information.

public void SetColor(Builder builder, int[] arrIndexes, Color color)

Parameters

builder Builder

The owner builder.

arrIndexes int[]

The topology indexes.

color Color

The color.

UnsetColor(Builder, int[])

Unsets the color information.

public void UnsetColor(Builder builder, int[] arrIndexes)

Parameters

builder Builder

The owner builder.

arrIndexes int[]

The topology indexes.

WriteXml(XmlWriter)

Converts an object into its XML representation.

public virtual void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The XmlWriter stream to which the object is serialized.

Connect with Ansys