v1.5
Moves an element into a folder. This can be used to move related clips into a common folder. You can use the CreateFolder command to add folders to organize elements.
MoveToFolder( Target, [InputObjs] ); |
Parameter | Type | Description |
---|---|---|
Target | String | Name of the folder you want to move the element to. |
InputObjs | String | List of objects to move.
Default Value: Current selection. |
dim clipFile clipFile = Application.InstallationPath( siFactoryPath ) & "\Data\XSI_SAMPLES\Pictures\bottom_teeth.jpg" const clipName = "MyClip" ' Create an image clip CreateImageClip clipFile, clipName ' Create a folder named MyBMP_Clips CreateFolder "Clips", "MyBMP_Clips" ' Move the clip under the new folder MoveToFolder "Clips.MyBMP_Clips", "Clips." & clipName |