Site Logo
Site Logo
 
It is currently Sun Apr 02, 2017 10:16 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Connect to Multi-PowerMILL Process
PostPosted: Wed Apr 15, 2015 10:29 am 
Offline
New User
New User

Joined: Wed Apr 15, 2015 9:20 am
Posts: 3
I am doing some development on PowerMILL. The problem I meet is: if there are two or more PowerMILL running in my machine, everytime I use Custom Software Core to connect to the PM processes, I got the one I first launched. So how can I get control of each PowerMILL session?


Top
 Profile  
 
 Post subject: Re: Connect to Multi-PowerMILL Process
PostPosted: Fri Apr 17, 2015 4:11 pm 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
Hi Charlie.

Unfortunately due to restrictions by Microsoft you cannot connect to anything other than the first instance of PowerSHAPE/MILL that was started.

You can however control multiple instances by allowing Custom Software Core to start them. You do this as follows:

Code:
var powerSHAPE1 = new PSAutomation(InstanceReuse.CreateNewInstance)
var powerSHAPE2 = new PSAutomation(InstanceReuse.CreateNewInstance)


Hope this helps
Luke


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB