Insert part in PAR-Environment

 

Hallo,

i use VB.net 2005 and want to insert a part (ASM,PSM,PAR,...) into the PAR-Environiment. (PartConstructionPartCopy)

Can I use the command "objApp.StartCommand(40254)"

The Filename of the Reference is known, so i want to skip the first Dialog.

The Dialog  where I can scale or mirror the Part is needed.

Can anybody help me?

Thanks,

Nitram

 

Posted by: Martin Rendler
Post date: 3/10/2008 4:29:42 AM

2 REPLIES

RE: Insert part in PAR-Environment

Nitram,

 

You cannot automate a command via StartCommand(), you can only invoke it as you've seen. If you want to emulate the functionality of a built in command, you will have to write all of the code by hand. I don't have time at the moment to write the code. If you can't figure it out, reply back for help and maybe someone can help you.

 

Posted by: Jason Newell
Post date: 3/10/2008 7:19:18 AM

RE: Insert part in PAR-Environment

 

Hallo,

thank you for the answer.

Is´nt it possible to use the FileUIEvents for this problem?

 

Posted by: Martin Rendler
Post date: 3/10/2008 10:51:51 PM