Home Search

DriveWorks Pro 22
Drive Body Material

Send Feedback

Drive Body Material - SOLIDWORKS PowerPack

The Drive Body Material Generation Task is used to apply a material to a solid body within a part. This can be a material from the default SOLIDWORKS database or your own materials from custom material databases within SOLIDWORKS.

If a part has multiple solid bodies within you will have to have a task for each body.


Property NameDescription
(Name)The unique name for this task.
Material Database NameThe name of the SOLIDWORKS materials database, for example custom materials (leave blank to use the default SOLIDWORKS materials database.
Material NameThe name of the SOLIDWORKS material in the chosen database (Leave blank to remove the current material).
Solid Body NameThe name of the solid body in the part.
Configuration NameThe name of the Configuration in which to set the body material. Leave blank for all configurations.


When this task is added the properties are dynamic by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleExample ResultMeaning
Material Database Name"CustomMaterials"CustomMaterialsThe name of the SOLIDWORKS material database to use. Leaving this blank will use the default materials database within SOLIDWORKS
Material Name"Plain Carbon Steel"Plain Carbon SteelThe name of the SOLIDWORKS material in the chosen database to be used. Leaving this blank will remove the current material.
Solid Body Name"Boss-Extrude1"Boss-Extrude1The name of the solid Body that you want to drive the material for in the part.
Configuration Name"Config1"Config1The name of the configuration in which to set the body material. Leaving this blank will drive all configurations.

Generation Sequence

This Task can be added to SOLIDWORKS Parts in the following Generation Sequence(s):

  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)