Search Results for

    Show / Hide Table of Contents

    Interface IMaterials

    Gives access to methods to read or write in a material document.

    Namespace: TopSolid.Cad.Design.Automating
    Assembly: TopSolid.Cad.Design.Automating.dll
    Syntax
    [ServiceContract]
    [AvailableSinceVersion(7, 16, 0, 0)]
    public interface IMaterials
    Remarks

    This interface is available since v7.16.

    Methods

    Name Description
    CreateMaterialParameter(DocumentId, PdmMinorRevisionId)

    Creates a material parameter into a document

    GetAlbedoColor(DocumentId)

    Gets the Albado color.

    GetAlbedoTextureDocument(DocumentId)

    Gets the Albado texture document.

    GetAmbientOcclusionFactor(DocumentId)

    Gets the Ambient Occlusion factor.

    GetAmbientOcclusionTextureDocument(DocumentId)

    Gets the Ambient Occlusion texture document.

    GetCategory(DocumentId)

    Gets the material category of a material document.

    GetDensity(DocumentId)

    Gets the material density.

    GetHatchingDocument(DocumentId)

    Gets the hatching document to a material document.

    GetMaterialApperanceInfo(DocumentId, bool, bool, bool, bool)

    Gets the material apperance information.

    GetMaterialModel(DocumentId)

    Gets the material model of a material document.

    GetMaterialParameterValue(ElementId, out DocumentId, out MaterialCategoryType)

    Gets Document and Category from a Material Parameter

    GetMetalnessFactor(DocumentId)

    Gets the Metalness factor.

    GetMetalnessTextureDocument(DocumentId)

    Gets the Metalness texture document.

    GetNormalFactor(DocumentId)

    Gets the Normal factor.

    GetNormalTextureDocument(DocumentId)

    Gets the Normal texture document.

    GetOpacityColor(DocumentId)

    Gets the Opacity color.

    GetOpacityTextureDocument(DocumentId)

    Gets the Opacity texture document.

    GetRefractiveIndex(DocumentId)

    Gets the refractive index.

    GetRotation(DocumentId)

    Gets the rotation.

    GetRoughnessFactor(DocumentId)

    Gets the Roughness factor.

    GetRoughnessTextureDocument(DocumentId)

    Gets the Roughness texture document.

    GetScale(DocumentId)

    Gets the scale.

    GetTransmissionGlossinessFactor(DocumentId)

    Gets the Transmission Glossiness factor.

    GetTransmissionGlossinessTextureDocument(DocumentId)

    Gets the Transmission Glossiness texture document.

    GetTransmissionScatteringColor(DocumentId)

    Gets the Transmission Scattering color.

    GetTransmissionScatteringLength(DocumentId)

    Gets the Transmission Scattering length.

    IsMaterialParameter(ElementId)

    Tells if an element is a Material Parameter

    SetAlbedoColor(DocumentId, Color)

    Sets the Albado color.

    SetAlbedoTextureDocument(DocumentId, DocumentId)

    Sets the Albado texture document.

    SetAmbientOcclusionFactor(DocumentId, double)

    Sets the Ambient Occlusion factor.

    SetAmbientOcclusionTextureDocument(DocumentId, DocumentId)

    Sets the Ambient Occlusion texture document.

    SetAngularScale(DocumentId, double)

    Sets the angular scale.

    SetCategory(DocumentId, MaterialCategoryType)

    Sets the material category of a material document.

    SetDensity(DocumentId, double)

    Sets the material density.

    SetHatchingDocument(DocumentId, DocumentId)

    Sets the hatching document to a material document.

    SetMaterialApperanceInfo(DocumentId, bool, bool, bool, bool)

    Sets the material apperance information.

    SetMaterialModel(DocumentId, MaterialModelType)

    Sets the material model of a material document.

    SetMaterialParameterValue(ElementId, PdmMinorRevisionId)

    Sets value of a Material Parameter

    SetMetalnessFactor(DocumentId, double)

    Sets the Metalness factor.

    SetMetalnessTextureDocument(DocumentId, DocumentId)

    Sets the Metalness texture document.

    SetNormalFactor(DocumentId, double)

    Sets the Normal factor.

    SetNormalTextureDocument(DocumentId, DocumentId)

    Sets the Normal texture document.

    SetOpacityColor(DocumentId, Color)

    Sets the Opacity color.

    SetOpacityTextureDocument(DocumentId, DocumentId)

    Sets the Opacity texture document.

    SetRefractiveIndex(DocumentId, double)

    Sets the refractive index.

    SetRotation(DocumentId, double)

    Sets the rotation.

    SetRoughnessFactor(DocumentId, double)

    Sets the Roughness factor.

    SetRoughnessTextureDocument(DocumentId, DocumentId)

    Sets the Roughness texture document.

    SetScale(DocumentId, double)

    Sets the scale.

    SetTextureMapping(DocumentId, TextureMappingType)

    Sets the texture mapping of a material document.

    SetTransmissionGlossinessFactor(DocumentId, double)

    Sets the Transmission Glossiness factor.

    SetTransmissionGlossinessTextureDocument(DocumentId, DocumentId)

    Sets the Transmission Glossiness texture document.

    SetTransmissionScatteringColor(DocumentId, Color)

    Sets the Transmission Scattering color.

    SetTransmissionScatteringLength(DocumentId, double)

    Sets the Transmission Scattering length.

    SetVerticalAngularScale(DocumentId, double)

    Sets the vertical angular scale.

    SetVerticalScale(DocumentId, double)

    Sets the vertical scale.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.