I want to create a PTB template that will allow the user to select a base material (Aluminum, Steel, etc...), then select a shape (sheet, angle, round bar, square bar, etc...), then finally assign an appropriate material specification (which is based on the previously selected items).

 

To clarify, I'm trying to speed up the process of getting the properties into the part and onto the BOM as the following "Custom Properties":

 

Material (not the [SW-Material] property) which might look like this in the drawing BOM: SHEET, ALUMINUM, 5052-H32, 0.090 THICK

Specification, which would be the only option available based on the above material that was selected: QQ-A-250/8, ASTM B209

 

Does the current PTB allow for this kind of functionality?


Categories: Drawings and Detailing

Comments
Last comment By: Bjorn Hulman   Tue, 17 Apr 2018 15:07:01 GMT
Re: Property Tab Builder Material Lists

Stephen,

You should be able to do this by cascading your choices (I think the "Radio Button" option would work best.)

With the Radio buttons, you can select your material, and set an "Advanced Option" to display another set of options based on your selection.

The next step would be Radio buttons for your shape, and use Advanced Options again to display a "List box" for your thickness.

Here is a really rough example:

If "Steel" is selected initially, it will display radio buttons for shape (Sheet/Angle/Round Bar), and if Sheet is selected, it will display the drop down list for steel thickness.

Just expand this to cover your different options, and I think it should work fairly well.

todd

By: Todd Blacksher  Mon, 16 Apr 2018 16:04:38 GMT
Re: Property Tab Builder Material Lists

Yeah, I think I tried something very similar to that.  However, the problem is concatenating the variables into one string that will propagate out to the BOM as a single line item as the "Material" custom property. 

By: Stephen Bittner  Mon, 16 Apr 2018 17:02:58 GMT
Re: Property Tab Builder Material Lists

a-ha!

Now I see what you are after!

This adds a whole new wrinkle to the question . . .

I am pretty sure it is possible, I just haven't tried it.

By: Todd Blacksher  Mon, 16 Apr 2018 17:17:58 GMT
Re: Property Tab Builder Material Lists

Indeed.  I thought I had it figured out by using Excel lists, but my dream was crushed once I realized that I could only assign "Material" once in the PTB.  :-)

By: Stephen Bittner  Mon, 16 Apr 2018 17:27:38 GMT
Re: Property Tab Builder Material Lists

I swear I had grouped metadata together for something once - I think we "worked it backwards" and the "Material" was the compilation of different properties (Material = Mat1+Mat2+Mat3)

If it is what I was thinking, I remember thtat it wasn't pretty, but it did work *most of the time . . .

By: Todd Blacksher  Mon, 16 Apr 2018 17:42:35 GMT
Re: Property Tab Builder Material Lists

Have you looked into the Configuration Publisher?

How to Use The SOLIDWORKS Configuration Publisher

 

This should be able to do what you want (it would be selecting a configuration of a specific component that you are inserting into an assembly rather than defining a new part).

 

Not sure if this would work for you.

By: Dan Pihlaja  Mon, 16 Apr 2018 18:01:07 GMT
Re: Property Tab Builder Material Lists

I think this in the way to do it.  However, I don't know the proper syntax to combine mat1, ma3, mat3, etc.  Can you amplify?

By: Stephen Bittner  Tue, 17 Apr 2018 13:49:56 GMT
Re: Property Tab Builder Material Lists

Nevermind.  I figured it out!  Brilliant!!

By: Stephen Bittner  Tue, 17 Apr 2018 15:02:06 GMT
Re: Property Tab Builder Material Lists

Hi Stephen,

The list group is an other option you could explore. It creates a hierarchy from an excel sheet. 2016 What's New in SOLIDWORKS - Creating a List Group Control

SOLIDWORKS Property Tab Builder 2016 - YouTube

By: Bjorn Hulman  Tue, 17 Apr 2018 15:07:01 GMT
You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.