Search Results for

    Show / Hide Table of Contents

    Method StartModification

    StartModification(string, bool)

    Starts performing modifications.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 11, 300, 80)]
    bool StartModification(string inUndoSequenceName, bool inIsUndoSequenceGhost)
    Parameters
    Type Name Description
    string inUndoSequenceName

    Name of the undo sequence.

    bool inIsUndoSequenceGhost

    Whether the undo sequence is hidden from the user.

    Returns
    Type Description
    bool

    Modifications can be performed.

    Remarks

    This method must be called before any modification is attempted.

    This method is available since v7.6.

    Examples
    if (TopSolidHost.Application.StartModification("My Modification", false)) 
    {
    	try
    	{
    		// Perform my modification.
    
    		TopSolidHost.Application.EndModification(true, true);
    	}
    	catch
    	{
    		TopSolidHost.Application.EndModification(false, false);
    	}
    }
    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.