Skip to main content
Jul 31, 2017 1:20 PM UTC
Question

Auto-fill parameter for user

On a default, out-of-the-box start part there is a field called "MODELED_BY" which is parameter-driven.  If I wanted to auto-populate that field based on the user, how would i do that?

5 replies

Jul 31, 2017 3:56 PM UTC

Do you use a PDM system, as the answer will change if you do or not.

No pdm

modeled_by = username

pdm

modeled_by = <pdm_username_variable>

In WIndchill it is ptc_wm_created_by

 

Jul 31, 2017 6:33 PM UTC

DO NOT USE ptc_wm_created_by. It is misleading and I just tested this again this morning.

 

This changes to the person that creates the next Revision.

 

We put ptc_wm_created_by and ptc_wm_created_on in our drawing title block and everytime a new revision was created the name and date would change in our title block. Definitely a violation and we had to remove it right away. This would work for the Revision History Block.

erineAuthor
Jul 31, 2017 7:11 PM UTC

Unfortunately, we do not use Windchill or Intralink. The cost cannot be justified for a company that has 6-8 seats.

 

The non-PDM option that Ben suggested appears to be literal, so each user would have to manual input their name into the parameter for each part created.  If it's not possible, that's fine.  I am just trying to streamline our start part templates and other setup files.