Skip to main content
1-Visitor
June 11, 2019
Question

Add parameters in Family tables using the Modelcheck

  • June 11, 2019
  • 3 replies
  • 5165 views

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.

 

 

3 replies

24-Ruby III
June 11, 2019

Hi,

I don't think it's possible.

madami1-VisitorAuthor
1-Visitor
June 11, 2019

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

24-Ruby III
June 12, 2019

@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.

23-Emerald III
June 12, 2019

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.

madami1-VisitorAuthor
1-Visitor
June 12, 2019

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!

23-Emerald III
June 12, 2019

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.

17-Peridot
June 14, 2019

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

23-Emerald III
June 14, 2019

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."

 

17-Peridot
June 20, 2019

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.