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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Mapkey for create parameters

Dom_CHENTRE
12-Amethyst

Mapkey for create parameters

hello,

I'm trying to create a mapkey that would create about 10 parameters for old prt files.

However, if one parameter even exist, mapkey stop.

Anyway to continue for others parameters?

Thanks 

12 REPLIES 12

For 10 parameters, import a file. I would import a parameter file using .xml file to add the parameters to the model. You can still use a mapkey but try importing the file and see if that works to overwrite any existing parameters. I have not tested this, YMMV.

 

tbraxton_0-1682525593294.png

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Chris3
20-Turquoise
(To:tbraxton)

If you have model check it does a good job of adding parameters as well.

Thanks !
Never used Model Check 🙂
I assume it's very useful.
But I've never use this tool.
Is there any link to learn how to use it ?
I've got a subscription Creo (9-10...) 
But my client need to get Creo 2 files ... 😞

 

Thanks,
I've discovered that I've made a mistake.
I've used an account of my friend !
How can I'm reconnecting on PTC Community with my own account ?
It seems not to be possible…
Thanks


@Dom_CHENTRE wrote:

Thanks,
I've discovered that I've made a mistake.
I've used an account of my friend !
How can I'm reconnecting on PTC Community with my own account ?
It seems not to be possible…
Thanks

 


Hi,

go to https://www.ptc.com/en/support/ page and Log out (in top right corner).


Martin Hanák

If you have never used model check its probably best to do @MartinHanak 's suggestion and switch to the old style parameter interface and do it that way. Model check can be a chore to setup.

Thanks a lot !
I'm frustrated ...
I've got Creo 9 (and 10, but not used).
However, My client use Creo 2.
And it seems that this option is not avalable.

Just export, but no import option.

 

 

Another possible option, though I don't know if it will work with Creo 2:

Make a part file somewhere it's easy for you to get at. Like, for me I would put it in "C:\ptc".

Put all the parameters you want in that file.

Record a mapkey with the steps necessary to do the work you want:

(1) Open that file (by accessing it through a full directory traversal)

(2) Open the parameters via Tools->Parameters

(3) Copy the ones you want to add to the old files by highlighting them and Edit->Copy

(4) Get rid of the file you copied the parameters from using Manage Session->Erase Current

(5) Open the parameters in the file you want to update via Tools->Parameters

(6) Edit->Paste the copied parameters in.

If any of the parameters being copied in already exists, you'll get a message asking you what to do, but since it's the last command in the mapkey it might just work.

You'll probably have to experiment a bit with this to get it working, if it will work at all, but that's how it goes sometimes.

This Question is very different of subject.
But  I've made a mistake and connect with an account of an old friend.
Impossible to connect with my own account.
How to do ?
Thanks

Hi,

if you add hidden option NEW_PARAMETER_UI no into config.pro, then Creo will use following old style menu for managing parameters. This enables you to create mapkey you need.

MartinHanak_0-1682579225643.png

 


Martin Hanák
Trebla
15-Moonstone
(To:MartinHanak)

Hi everybody,

I tested NEW_PARAMETER_UI no now in creo8 and it doesn't work any more... 😞

Article

RandyJones
19-Tanzanite
(To:Trebla)


@Trebla wrote:

Hi everybody,

I tested NEW_PARAMETER_UI no now in creo8 and it doesn't work any more... 😞

Article


Works for me in Creo Parametric 9.0.5.0

Top Tags