Creating and Modifying Snapshots
Functions Introduced:
The function ProKinDragSnapshotsNamesGet() retrieves an array of names of the snapshots belonging to the top-level assembly and all its subassemblies.
The function ProSnapshotCreate() creates a new snapshot for the top-level assembly as per its current position in the Creo Parametric window. Constraints are copied from the active snapshot. The newly created snapshot becomes active.
The function ProSnapshotUpdate() updates the snapshot for the top-level assembly as per its current position in the Creo Parametric window. Constraints are copied from the active snapshot. The newly updated snapshot becomes active.
The function ProSnapshotRename() renames the active snapshot of the top-level assembly.
The function ProSnapshotDelete() deletes a specified snapshot. The snapshot can be of the top-level assembly or any of its subassemblies. Pass NULL for the argument path to specify the top-level assembly.
The function ProSnapshotApply() applies the transforms of the active snapshot. Unlike in the user interface, no attempt to reconnect is made. Call ProKinDragReconnect() if reconnect is necessary. Use ProWindowRefresh() to view the changes in the positions of the assembly components.
这对您有帮助吗?