The Create Image Generation Task will create an image of the Model or Drawing.
|(Name)||The unique name for this task.|
|Image Extension||The extension of the image (for example, png).|
|Image Folder||The folder to save the image to (leaving this blank will use the components's folder).|
|Image Name||The file name of the image (leaving this blank will use the component's name).|
|Overwrite||TRUE to overwrite the file if it exists, FALSE to keep any existing file.|
|Specification Id||The Id of the Specification to associate the image with.|
When this task is added the properties are both static and dynamic by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.
|Property Name||Example Rule||Example Result||Meaning|
|Image Extension||"jpg"||jpg||The extension determining the kind of Image file to be created.|
|Image Folder||"C:\My Documents\Specifications\Images"||C:\My Documents\Specifications\Images||The Folder location to save the Created Images to. Leaving this property blank will use the component's folder.|
|Image Name||"Assembly "&DWSpecificationId||Assembly 9999||The file name of the image. Leaving this blank will use the component name.|
|Overwrite||FALSE||FALSE||FALSE will keep any existing file. TRUE will overwrite the File if it already exists.|
|Specification Id||DWSpecificationId||DWSPecificationId||The Id of the Specification to associate the created Image with.|
DriveWorks Tech Tips Portal
Create Image Generation Task
This Tech Tip demonstrates how to create images of generated assemblies, parts or drawings using generation tasks.