Skip to main content
Jun 11, 2019 2:23 AM UTC
Question

Add parameters in Family tables using the Modelcheck

How can add parameters in the table of the family tables using the Modelcheck?

I'm trying to find a way to add columns in the family tables with modelcheck but I didn't find any option to do that...

I attached an image to explain what I'm trying to do with the modelcheck.

 

 

11 replies

Jun 11, 2019 4:49 AM UTC

Hi,

I don't think it's possible.

madamiAuthor
Jun 11, 2019 11:13 PM UTC

Sorry about asking, but why do you think it's not possible?

Jun 12, 2019 8:02 AM UTC

@madami wrote:

Sorry about asking, but why do you think it's not possible?


Because Modelcheck functionality is limited.

Please forward your question directly to PTC Support, they can give you a qualified answer.

Jun 12, 2019 1:29 PM UTC

Look at the name of the module..ModelCHECK! It was designed to check models to be in conformance with company rules/standards. It does its job well, but does need some updating since PTC bought the program.

There are certain things Modelcheck can be 'programmed' to do, like add parameters to a model, but that only works if done in batch mode. We ran every file out of Intralink through a custom Modelcheck program before loading them into PDMLink at a prior company. we did this because the parameters are way different and it was the fastest way to update them.

 

As to adding columns to a family table, I would say not possible. There are no checks for family table values or parameters in Modelcheck, so nothing can be programmed to add them.

 

If you need a custom program to modify your family tables, use toolkit and do it right.

 

How many family tables are you talking about, anyway? It would not take long to open a hundred files or so, add the columns, reverify and save the instances. Even in a Windchill environment, it could be done easily.

madamiAuthor
Jun 12, 2019 1:43 PM UTC

Hi, actually I'm talking about more than 50.000 items, so I thinks it won't be easy to do manually...

What do you mean about doing it in a Windchill environment?

Windchill can add the columns automatically for me?

 

About creating a custom program with the toolkit to modify the tables columns... Do you know any customization like that or someone who ever done it before?

 

Thanks!

Jun 12, 2019 1:49 PM UTC

50,000 family tables!!! WOW

What types if items do you have in your family tables and how many instances in each family?

 

No, Windchill cannot do it either. Just saying that native or Windchill, a few hundred would not be a struggle. 

 

I do not know any, but there are some custom programmers lurking on these boards who may pipe in or contact you directly.

Jun 14, 2019 8:01 PM UTC

You can require parameters on the generic first using PARAMCHECK and then you can require that those parameters are in the family table using the FT_STD_PARMS check in the start (.mch) file. For MASS and VOLUME parameters, you may want to drive this from a relation (which could be another check). See images below.

 

1 - Check File.jpg2 - Start File.jpg3 - Fix Generic.jpg4 - Fix Instances.jpg

Jun 14, 2019 8:29 PM UTC

That will produce an interactive add of the parameters.

With 50K files(?) this needs to be done in a batch mode.

I do not think it will run in batch without some custom programming, but I could be wrong.

Also the parameter to be may not be a system parameter.

"This check is used only for user defined parameters and not for reserved and system parameters."

 

Jun 20, 2019 1:44 PM UTC

This is still possible if there is a custom parameter added as a relation equating to the system parameter. Like:

CUSTOM_PARAMETER=pro_mp_mass. I was able to add the weight column using ModelCHECK. But after adding the column you need to manually regenerate the assembly and verify all instances so the values are populated.