v1.5
Removes elements from the specified folder.
RemoveFromFolder( Target, [InputObjs] ); |
Parameter | Type | Description |
---|---|---|
Target | String | Name of the folder containing the elements to remove. |
InputObjs | String |
List of objects to remove. 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 'remove the clip we just moved RemoveFromFolder "Clips.MyBMP_Clips", "Clips." & clipName |