I am working on templates to use and I want the drawing to prompt me for the material to be used and then display it in the title block.
SolidworksDrawings And Detailing
I am working on templates to use and I want the drawing to prompt me for the material to be used and then display it in the title block.
SolidworksDrawings And Detailing
Normally material is set in the model. No easy way to have drawing prompt for material. Would need a macro or add-in.
Hello,
To "automate" my previous reply, you can use a design table so Excel can examine the material property and if it matches "Material", a different custom property can be set to "MATERIAL NOT SPECIFIED" (or some other message), otherwise this property would be made blank.
This second property would be the one linked to the note entity on the drawing and since it's blank when a material is selected, you don't need to toggle the "Material Name" layer visibility.
Kevin
Hello,
As mentioned, the material is a property within your part template:
Even if a material hasn't been selected, this property isn't blank, it's "Material" as shown in the tree:
In your drawing template, create a layer named "Material Name" (or whatever you think best). Set its color to red:
Create a large note and place it in the middle of the drawing space and enter $PRPSHEET:"Material" (it will change to $PRPSHEET:{Material}) to link this note to the material custom property of the future attached model:
Save your template and your sheet format.
When the drawing is used for a part, the material displays prominently in red:
When the material is correct:
Open the Layers dialog and set the "Material Name" layer to off and non-printing:
And the note is no longer displayed (and it won't be printed):
Kevin