Site Logo
Site Logo
 
It is currently Sun Apr 02, 2017 7:02 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: How to select toolpath & get input from C#
PostPosted: Tue Feb 09, 2016 7:53 am 
Offline
New User
New User

Joined: Sat Jan 09, 2016 9:09 am
Posts: 4
I have 2 toolpaths in project file. First, how to change feed rate for particular toolpath only instead of using foreach loop. Second, i want enter the value of feed rate manually from windows form in c# for that toolpath.

I read manual for help but there is no information regarding it...

Thanks


Attachments:
Untitled.png
Untitled.png [ 6.33 KiB | Viewed 59 times ]
Top
 Profile  
 
 Post subject: Re: How to select toolpath & get input from C#
PostPosted: Wed Jun 15, 2016 1:37 pm 
Offline
DELCAM Staff
DELCAM Staff

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

You would need to use something like:
Code:
foreach (PMToolpath toolpath in session.Toolpaths)
{
  toolpath.IsActive = true;
  int d = 4000;
  powerMill.Execute("EDIT FRATE \"" + d + "\"");
  toolpath.Calculate();
  toolpath.IsActive = false;
}


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:  
cron
Powered by phpBB