Printing3DMultiplePropertyMaterialGroup Printing3DMultiplePropertyMaterialGroup Printing3DMultiplePropertyMaterialGroup Printing3DMultiplePropertyMaterialGroup Class

Definition

Represents a multi-property material group.

public : sealed class Printing3DMultiplePropertyMaterialGroup : IPrinting3DMultiplePropertyMaterialGrouppublic sealed class Printing3DMultiplePropertyMaterialGroup : IPrinting3DMultiplePropertyMaterialGroupPublic NotInheritable Class Printing3DMultiplePropertyMaterialGroup Implements IPrinting3DMultiplePropertyMaterialGroup// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Graphics.Printing3D.Printing3DContract (introduced v1)

Remarks

Each multi-property material is defined by a combination of properties and/or materials that are listed in the specified material groups (MaterialGroupIndices ). Each combination is defined by listing the index of an item from one material group with the index of an item from a secondary material group. The combinations are specified in MultipleProperties, where the index values are specified in the same order as the material groups listed in MaterialGroupIndices.

The Printing3DMultiplePropertyMaterialGroup class corresponds to the <multiproperties> element in the 3D Manufacturing Format (3MF) specification. For more info, see the 3MF Specification.

Constructors

Printing3DMultiplePropertyMaterialGroup(UInt32) Printing3DMultiplePropertyMaterialGroup(UInt32) Printing3DMultiplePropertyMaterialGroup(UInt32) Printing3DMultiplePropertyMaterialGroup(UInt32)

Creates a new instance of the Printing3DMultiplePropertyMaterialGroup class.

public : Printing3DMultiplePropertyMaterialGroup(unsigned int MaterialGroupId)public Printing3DMultiplePropertyMaterialGroup(UInt32 MaterialGroupId)Public Sub New(MaterialGroupId As UInt32)// You can use this method in JavaScript.
Parameters
MaterialGroupId
unsigned int UInt32 UInt32 UInt32

The identifier (ID) of the multi-property material group; a value greater than zero.

Remarks

Set MaterialGroupId to a value greater than zero. A value of zero is not valid and triggers an E_INVALIADARG error.

Properties

MaterialGroupId MaterialGroupId MaterialGroupId MaterialGroupId

Gets the identifier (ID) of the multi-property material group.

public : unsigned int MaterialGroupId { get; }public uint MaterialGroupId { get; }Public ReadOnly Property MaterialGroupId As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The ID of the multi-property material group.

MaterialGroupIndices MaterialGroupIndices MaterialGroupIndices MaterialGroupIndices

Gets an ordered list of material groups (MaterialGroupId values) that are used to define property-material combinations in the multi-property group. The order of material groups is maintained in the combinations defined by MultipleProperties.

public : IVector<uint> MaterialGroupIndices { get; }public IList<uint> MaterialGroupIndices { get; }Public ReadOnly Property MaterialGroupIndices As IList<uint>// You can use this property in JavaScript.
Value
IVector<unsigned int> IList<uint> IList<uint> IList<uint>

The indices of the properties or materials in the group.

MultipleProperties MultipleProperties MultipleProperties MultipleProperties

Gets a list of property-material combinations. Each combination is defined by listing the index of an item from one material group with the index of an item from a secondary material group. The index values are specified in the same order as the material groups listed in MaterialGroupIndices.

public : IVector<Printing3DMultiplePropertyMaterial> MultipleProperties { get; }public IList<Printing3DMultiplePropertyMaterial> MultipleProperties { get; }Public ReadOnly Property MultipleProperties As IList<Printing3DMultiplePropertyMaterial>// You can use this property in JavaScript.
Value
IVector<Printing3DMultiplePropertyMaterial> IList<Printing3DMultiplePropertyMaterial> IList<Printing3DMultiplePropertyMaterial> IList<Printing3DMultiplePropertyMaterial>

A list of property-material combinations .