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: Todd Blacksher   Tue, 12 Jun 2018 12:01: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
Re: Property Tab Builder Material Lists

Bjorn Hulman wrote:

 

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

This is "somewhat related" . . .

Has anyone seen an issue in which the List Group does NOT appear in the Property Tab Builder?

The List box does not include the option for linking to an Excel file.

This makes me think that it is an issue with Excel, but design tables work just fine . . .

 

SOLIDWORKS 2018 SP3.0

Excel 2013

 

This is where the confusion kicks into overdrive -

Some sort of "disconnect" between SOLIDWORKS and Excel (but just the Property Tab Builder)

Have already uninstalled & re-installed SOLIDWORKS a few times . . .

thanks,

todd

By: Todd Blacksher  Sun, 10 Jun 2018 02:17:47 GMT
Re: Property Tab Builder Material Lists

Hi Todd,

have you moved to a new machine by chance?

By: Bjorn Hulman  Mon, 11 Jun 2018 07:50:06 GMT
Re: Property Tab Builder Material Lists

Bjorn Hulman wrote:

 

Hi Todd,

have you moved to a new machine by chance?

I did switch to this computer last October, and I believe that I started with 2018 SP0.0

I do not think that I ever had the List Group appear in my Property Tab Builder.

It is completely bizarre . . .

I do receive a number of "There is a windows reboot pending" messages when attempting to Uninstall/Reinstall - I always cancel the process and reboot. (I have also started checking the registry after the reboot to verify that there are no other reboots pending.)

By: Todd Blacksher  Mon, 11 Jun 2018 17:22:05 GMT
Re: Property Tab Builder Material Lists

Bit of a long shot, but was office pre-installed on the new machine? I had an issue with my new DELL where, although excel was there, CPT would fail due to a 'syntax error' The templates opened in CPTB, and linked the excel fine. I don't recall if all the functions were listing properly down the left though.

By: Bjorn Hulman  Tue, 12 Jun 2018 08:20:51 GMT
Re: Property Tab Builder Material Lists

Bjorn Hulman wrote:

 

Bit of a long shot, but was office pre-installed on the new machine? I had an issue with my new DELL where, although excel was there, CPT would fail due to a 'syntax error' The templates opened in CPTB, and linked the excel fine. I don't recall if all the functions were listing properly down the left though.

 

EDIT: Quick Update - Over the weekend I formatted my hard drive, started over from scratch, re-installed MS Office, and installed 2019 Beta 1 - Everything works great now!

 

Office was not pre-installed, but this was a very good idea!

- I did a modify/repair on the Office installation (full online repair), and verified the activation. The thing that is really interesting about this is that I cannot even select "Excel" from the drop down for List Box - it is only "List" and "Text File".

It is as though the PTB does not even "see" Excel - hence the error when I load a file that references an Excel file.

An SR has been submitted to SOLIDWORKS.

Thanks again,

todd

By: Todd Blacksher  Tue, 12 Jun 2018 12:01:01 GMT
You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.