Home Search

DriveWorks Pro 24
Delete Document Appearance

Send Feedback

Delete Document Appearance

Will delete the given appearance from the DriveWorks 3D Document displayed in the given 3D Preview control.

This task works on a 3D Document displayed in a 3D Preview Control.

In order to save changes made by this task the Save 3D Document task is required to be used.

We recommend applying the Save 3D Document task at the end of a Specification.

This task does not work on 3D Previews running in File mode or Autopilot mode.

Properties

Property NameDescription
Preview Control NameName of the 3D Preview control.
Target Appearance NameThe name of the appearance to be deleted from the document.

Examples

Property NameExample RuleMeaning
Preview Control Name3DPreviewControlWill delete the appearance from the DriveWorks 3D document displayed in the 3D Preview control named 3DPreviewControl.
Target Appearance NamePlasticWill delete the appearance named Plastic.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs.

The status output navigation is as follows:

Success

  • Task ran successfully.

Success with Warnings

  • N/A - Should never be fulfilled

Failed

  • Unable to find a 3D Preview Control with the name <control name>.
  • Unable to delete the appearance, the Preview Control must be previewing a 3D Document.
  • Unable to find an appearance with the name <appearance name>.
  • The target appearance name <appearance name> is invalid.