How to create a pipe support catalog from custom python shapes

How to create a pipe support catalog from custom python shapes

Anonymous
Not applicable
1,903 Views
2 Replies
Message 1 of 3

How to create a pipe support catalog from custom python shapes

Anonymous
Not applicable

Hi all,

 

I have created custom parametric pipe supports by using python scripts, and am now trying to create a catalog based on these scripts.

 

According to the catalog builder welcome screen, the first step is to create a Catalog Template File. As I understand, this can be done by creating new component families within the catalog editor. Then the catalog can be exported to the catalog builder where all dimensions can be entered in Excel.

 

When I click 'create new component' within the catalog editor, I can select my custom scripts under Fittings->Supports, but when I click create, I get the following error: 'Column 'SizeRecordId' is constrained to be unique. Value " is already present.' I get the same message with non custom parametric graphics.

 

Capture.PNG

 

I tried to workaround this issue by adding the part families to a template directly in the catalog builder, however the subcategory 'Support' does not appear under 'Fittings'. I am curious to know why.

 

Any help to resolve this would be appreciated!

 

Thanks,

 

 

 

 

 

0 Likes
1,904 Views
2 Replies
Replies (2)
Message 2 of 3

jabowabo
Mentor
Mentor
We create them with catalog builder and chose olet for the type. Once you export to excel, you can change the type to support there then build and add to a catalog.
Message 3 of 3

Anonymous
Not applicable

jabowabo,

 

Thanks for your help. I just tried what you suggested: I replaced the 'PartCategory' and 'PnPClassName' fields with 'Support' instead of 'Olet', and entered all my dimensions and parameters. I can then add to an existing pipe support catalog, and the families get added, but in the catalog editor every field for the new families is blank except the 'Short Description'. Even the size range is 0-0.

 

I just found that by adding the 'Ports="1"' field in the activate declaration of all my scripts I am now able to add components in the catalog editor. It was missing in some of them and apparently this was enough to cause all this trouble. I did not get any error when running PLANTREGISTERCUSTOMSCRIPTS though.

 

Thank you