cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Windchill's Official Parameters with Repeat Regions

Highlighted
Level 10

Using Windchill's Official Parameters with Repeat Regions

I've been trying to figure out how to use PTC's Windchill parameters with Family Tables/Repeat Regions like any other parameters create by a user... but they seem to be hidden. Does anyone know how to use them with 1D or 2D repeat regions without using Relations to drive a new user parameter? It seems like PTC has either hid these on purpose or forgot about them completely. One would think PTC would give their own parameters equal/more preference not less... like not having to add them to a Family Table in order to use them on a Repeat Region.

PTC Parameters.jpg

Usually, parameters have to be in the Family table in order to use them in the Repeat Regions but the Windchill parameters cannot be added because they are hidden.

Family Table.jpg

Unable to Add Parameters.jpg

Repeat Region.jpg

12 REPLIES 12

Re: Using Windchill's Official Parameters with Repeat Regions

I'm not seeing any problem with a 1D repeat region.  (I have not tried a family table region.)

Re: Using Windchill's Official Parameters with Repeat Regions

I could be wrong, but I don't think you can display non-family table information on a family table repeat region.  I see what you mean about not being able to add PTC_* parameters to the family table.  Odd.

Re: Using Windchill's Official Parameters with Repeat Regions

It would appear that the only non-family table parameter that can be used in a family table repeat region is PTC_COMMON_NAME.

What if you constructed an assembly containing each instance (just include) and then used an assembly region instead of a family table region?  Since all the instances are using the same names for the dimensions and parameters, you should be able to get a similar table.

Re: Using Windchill's Official Parameters with Repeat Regions

Tom,

I think you're right... but it seems silly that I'm not able use Windchill parameters to the Family Table and thus unable to use them with Family Table Repeat Region. The only solution that I know of would be to drive a new parameter from the Windchill parameters through relations which adds complexity and method of failure if the relations get deleted.

I'm testing trying to using PTC_COMMON_NAME to replace our DESCRIPTION parameter (to allow changing descriptions from Rename/Save As in Windchill) and (unrelated) switching from a manual rev field to the Windchill Rev. I having a wonderful (terrible) time trying to get it to work Family Table Repeat Regions. I can get the PTC_COMMON_NAME to work with 1D repeat region but I end up having to create a hybrid 2D table since Common Name is treated differently than other Creo parameters. I can't seem to get the column order of the table to work properly in the 2D table.

Common Name - Family Table Repeat Regions.jpg

I tested using a DESCRIPTION=PTC_COMMON_NAME relation so I wouldn't need to redo the drawing tables but DESCRIPTION doesn't update in Windchill until the CAD has been checked in again.

I could open a case with PTC but they'll probably just give the well loved 'Works to Specification'.

Thanks,

Luke

Re: Using Windchill's Official Parameters with Repeat Regions

All Windchill parameters do not update until the file is checked in.

When we first implemented Windchill, our designers would model the part, then create a new drawing file and complain that their parameters were not correct. We had to remind them for a few months that the procedure said, Model, Save, Drawing, Save or Model, Save, Assemble, Save, Drawing, Save. Once they got that Save before doing something else with the file down, things worked a lot smoother.

We also discovered that we had to modify a lot of the PTC WM parameters to reformat them for something that we wanted in the drawing formats. We had to use local parameters that were extracts from the PTC_WM parameters. Dates in particular, since a PTC WM date includes a full time stamp and all we needed was the date of the year.

Re: Using Windchill's Official Parameters with Repeat Regions

All,

This be accomplished through the use of a relation added to your Creo start parts. We are starting to replace old parameters with relations that point to Windchill parameters to cut down on user input error. We can't eliminate the Creo Parameter name all together because we have so many legacy models that are reused in new assemblies. Here are two that we currently have in our start Creo start parts.

CAGECODE = PTC_ORGANIZATION_ID

TITLE = PTC_COMMON_NAME

Re: Using Windchill's Official Parameters with Repeat Regions

Ben Loosli‌,  Take a look at this:

CS49539 - "How can the date format for PTC_WM_CREATED_ON be customized in Creo Parametric"

Here's how we have it set:

date_type_parameter_format %yyyy-%mm-%dd

Re: Using Windchill's Official Parameters with Repeat Regions

When we migrated to Windchill, we had a custom modelcheck batch program constructed that would add the new relations to our files and remove out-dated ones.

We had a number of  parameters that we were adding, most being pulled from Windchill with modifications.

Copy of start part relations for a metric part.

/************************* START PART RELATIONS **********************
/* CALCULATE THE WEIGHT AND SURFACE AREA
/* --------------------------------------------------------------------------------------------------------------
/* YOU MUST DO A MASS PROPERTIES ANALYSIS AND THEN REGENERATE THE PART
/* FOR THE WEIGHT AND SURFACE AREA PARAMETERS TO BE UP-TO-DATE.
WEIGHT_KG = PRO_MP_MASS
WEIGHT_LB = PRO_MP_MASS * 2.20462
AREA_CM = PRO_MP_AREA / 100
AREA_IN = PRO_MP_AREA * 0.00155

/* SET PART NAME PARAMETERS FOR BOM
/* ------------------------------------------------------
/* PART_NO  PARAMETER  IS ALWAYS EQUAL TO THE MODEL NAME.
PART_NO = EXTRACT(REL_MODEL_NAME(),1,8)

/* DWG_NO PARAMETER IS ALWAYS EQUAL TO PART_NO
/* IF THEY ARE NOT, COMMENT THIS RELATION
DWG_NO = PART_NO

/* extract the date portion of the windchill timestamp params
short_created_on = extract(ptc_wm_created_on,1,10)
short_approved_date = extract(ir_approved_date,1,10)
short_modified_on = extract(ptc_wm_modified_on,1,10)
year = extract(ptc_wm_modified_on,1,4)

/* Set initial_ecn = to ecn from windchill only when rev is 0
if ptc_wm_revision == "0"
initial_ecn = ecn
initial_created_by = ptc_wm_created_by
initial_created_on = short_created_on
endif
/************************* COMPONENT RELATIONS ***********************

Re: Using Windchill's Official Parameters with Repeat Regions

We can't eliminate the Creo Parameter name all together because we have so many legacy models that are reused in new assemblies.

This be accomplished through the use of a relation added to your Creo start parts.

Are you having your users manually add these relations every time they open an old part or are you doing something with ModelCheck?