Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advanced Powercopy 1

Status
Not open for further replies.

zelym13

Industrial
Jul 11, 2012
9
US
Hi everyone,

I am currently working on a powercopy that will instantiate simple part bodies.

I want to be able to have the user input a number of instances and the powercopy will create that number of instances entered.

Has anyone been able to perform this type of action.

My workbenches are limited to only KWA and KWE, so using PKT with User Defined Features is not an option.

Thanks

Zelym

 
Replies continue below

Recommended for you

I don know if that can be done. But you have a repeat option in power copy.
 
so if the user says he need 4 powercopies, he will have 4 time the same result?

Look at Knowledge Template, it might be what you looking for, but you might need some extra licenses...

Eric N.
indocti discant et ament meminisse periti
 
itsmyjob, Yeah thats what I am looking for and was afraid that additional licenses was a requirement.

I think I am now going to have a script that will instantiate the powercopy by searching for axis systems and using these as the input.

What type of prompt or code do I need to instantiate to searched elements within a script?

Since I am new to coding I would normally record the action inside CATIA but it does not record anything with instantiating a powercopy.

Thanks,

Zelym
 
you need KT license for power copy to work in MAcro
 
Zelym13

There is a CATScript that is in the install path that can be used as an example. Unfortunately you would need a KT1 runtime license which you might have as it is bundled in some packages.

C:\Program Files\Dassault Systemes\B23\win_b64\VBScript\PowerCopy



Win XP64
21SP7/22SP5, 3DVIA Composer 2013X, ST R20
Dell T7400 16GB Ram
Quadro FX 4800 - 1.5GB
 
 http://files.engineering.com/getfile.aspx?folder=58ff3255-f800-464b-bdc8-d53ed8d43e86&file=InstanciatePowerCopy.CATScript
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top