WSMCopyModel
  WSMCopyModel["source.name"]
creates a copy of the model source.name with the name name.
WSMCopyModel["source","dest"]
creates a copy of the model source with the name dest.
Details and Options
  
    
   Examples  
  Basic Examples  
   Applications  
   See Also
 Related Guides
 WSMLink`
   WSMLink`
  WSMCopyModel
WSMCopyModel is being phased out in favor of SystemModel, which was introduced experimentally in Version 11.3.
WSMCopyModel["source.name"]
creates a copy of the model source.name with the name name.
WSMCopyModel["source","dest"]
creates a copy of the model source with the name dest.
Details and Options
- Both source and dest refer to the fully qualified Modelica names.
 - Names can be given as strings or as DotName.
 - If dest already exists, it can be overwritten with the option OverwriteTarget->True.
 - If the parent of dest does not exist, it is created automatically.
 - WSMCopyModel returns WSMModelData[dest], or $Failed if it cannot create the copy.
 - The shortest unique model name source can be used where WSMNames["*.source"] gives a unique match.
 
Examples
open all close allBasic Examples (4)
Applications (1)
Make a copy of a library example and change it with WSMSetValues: