Results 1 to 3 of 3
-
11-12-2018, 09:43 PM #1
- Join Date
- Jan 2003
- Posts
- 191
Set a parameter value in a trail file or mapkey?
Hi all,
WildFire 4.0.
I would like to set / change the value of a parameter in a trail file or a mapkey (which are pretty much the same things).
I currently do that by using a mapkey that opens the Parameters Window ("Tools / Parameters"), selecting the parameter line, then "Parameters / Parameter Properties" and setting the parameter value.
That works, but the fast opening and closing of the windows causes flickering and is annoying to see.
So I was wondering, is there a way to set the value of a parameter directly in a trail file?
I know you can read the parameter value using the "&" operand, but how to set it ..?
-
11-12-2018, 09:43 PM
-
11-13-2018, 03:43 AM #2
- Join Date
- May 2002
- Posts
- 420
Hi Eddy,
Do you use Windchill? It is easy with change attribute in Windchill.
If you don't have Windchill, I guess you can use mapkey or ModelCHECK. I haven't tried trail file.
-
11-13-2018, 03:43 AM
-
11-13-2018, 06:48 AM #3
- Join Date
- Jan 2003
- Posts
- 191
Hi Charles,
No we haven't got WindChill. Maybe in a while, because we are in the process of migrating to Creo 4.0.
The thing is, I would like to change the value of this parameter with the click of a single button or by a single keypress.
I have something that sort of works, modifying a trail file by an external program that I wrote. Then executing a mapkey (also automatically by my external program) that calls and executes this trail file. The only annoying thing is the windows that pop up briefly when the trail file changes the parameter.
I would think there has to be a more direct and cleaner way to change a parameter value.
But perhaps not ...
Can you use WT parts (gear parts) to create a BOM on a drawing. And can it be parametric? Part of our company uses eboms that is no BOM on the drawing just in windchill. The rest of use use a table...
using wtparts to create BOM on...