Calling cutlist properties

I need to call a custom property from solidworks file into another program. The custom property us "PARTNUMBER". However when I call for "PARTNUMBER" in the other program it returns the part number of the file not the part number from the cut list. Is there a prefix or something that I need to add to "PARTNUMBER" to direct it to the cut list or does the fact that these are redundant properties make this impossible to do?

Thanks

SolidworksWeldments
Answers 11
BG
BG 2021-04-08 Best Answer

Decipher:

I need to call a custom property from solidworks file into another program.

MJ
MJ 2021-04-08

Just FYI simply mapping to a property in the cut list DOES in fact map to the part in Sigmanest. The part that was slipping me up was that it only maps the information once you actually import it, it does not map it on the prior screen when you apply the filter. So a cutlist body named 1234-1234-001 would show up as 1234-1234_1 in the filter screen. However once you import it it will show up as 1234-1234-001. 

When I "Applied filter" I was expecting the part shown as 1234-1234_1 to appear as 1234-1234-001 and it never changed no matter what I mapped it to. Once you actually do the import though it maps.

Thanks all 

BG
BG 2021-04-08

Perhaps investigating the setting that toggles SetPartNameSameAsFileName=1 in snconfig.ini (or by using the GUI settings)

BG
BG 2021-04-08

Be aware that $PRPWLD or $PRP is not the typical values you are to input into SigmaNest for multibody parts. I read the manual and it showed no "$"'s in their examples.

Their manual sucks but I did find this (see below) For the hell of it create a cut list property called "PartName" and fill it out for each part in the multibody part. See what happens.

On the General tab, verify that no options are selected. Then navigate to the Advanced tab. Check the Bevel Recognition box to allow the chamfers on the parts in the assembly to be imported with the bevel property assigned.

 

Select the SOLIDWORKS tab and uncheck the Uses Configurations and Show All Configurations in Tree View boxes.

 

Set the following Part Property Mappings:

From SOLIDWORKS

To SigmaNEST

PartName

Part Name

Revision

Rev No.

Customer

Customer

Subject

Remark

MJ
MJ 2021-04-08

That's what I was looking for. Thanks...I'm also not sure if the other software will accept this but a least I know I'm attempting to call the right thing now.

BS
BS 2021-04-08

WIthin SolidWorks, the difference is $PRPWLD:"PARTNUMBER" (for cutlist properties) vs. $PRP:"PARTNUMBER" (for part/assembly properties).  Not sure if the program you're importing into has a way to differentiate.

MJ
MJ 2021-04-08

That is something I was considering. We would just duplicate the field and try and call that. Might make it easier.

JY
JY 2021-04-08

can you add an alternative field to look for?

PARTNUMBER is a rather generic label. If you was to look for a PART_NUMBER' field this would then be unique?

might be much easier to search for a file name?

MJ
MJ 2021-04-08

I'm already in contact with them but their support is relatively slow. Which is why I came here.

MJ
MJ 2021-04-08

I'm importing a Solidworks Weldment model into Sigmanest, a laser nesting program. "Supposedly" I can map custom properties to in Solidworks to properties of parts in Sigmanest once they are imported. I would like to map the custom property we use for the cut list item in Solidworks, "PARTNUMBER" to the part name in Sigmanest.

Currently when I attempt to do this by placing "PARTNUMBER" where I believe I'm supposed to in Sigmanest it is returned as the File Name partnumber. 

Soooo.... For instance let's say my Weldment Part File Name is X12345 and my Cut list Part Names are X12345-01, X12345-02 and so on. When I map, in Sigmanest, to "PARTNUMBER" it calls all the imported parts X12345 instead of calling part one X12345-01, Part two X12345-02 and so on.

So my question was is there a trick that would call the Cutlist part number rather than the Part file part number.

Thanks