Search Results for

    Show / Hide Table of Contents

    Method SetColor

    SetColor(ElementId, Color)

    Sets the color of an element.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 6, 0, 0)]
    void SetColor(ElementId inElementId, Color inColor)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of the element to modify.

    Color inColor

    New color of the element.

    Remarks

    StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.

    This method is available since v7.6.

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

    Copyright ©2025 TopSolid - All rights reserved.