Set Rapid Feed Mode

Hello,

I Need a Little help
I try to set Feeds and Speeds in a CAM Operation

is there a way to set the Rapid Mode Option in a Operation from G0 to G1?
I can set all feed rates but only with the G0 and G1 Option I have a Problem. I can reed it but not set.

I can reed the variable with:

Dim f_rapid_output As Double = objectsFeedsBuilder1.FeedsBuilder.FeedRapidOutput.Value

I use NX8.5 and VB Journal

Bernd

The FeedRapidOutput.Value property can be set to G0 or G1:

'set to G0
objectsFeedsBuilder1.FeedsBuilder.FeedRapidOutput.Value = CAM.FeedRapidOutputMode.G0

'or
'set to G1
objectsFeedsBuilder1.FeedsBuilder.FeedRapidOutput.Value = CAM.FeedRapidOutputMode.G1

first of all .... many thanks for your reply!

... but how can i save the G1 mode in the Operation?
befor I read the varibles I have this:

operation = CType(WorkPart.CAMSetup.CAMOperationCollection.FindObject(Nam.Name), CAM.Operation)
PlanarMillingBuilder = WorkPart.CAMSetup.CAMOperationCollection.CreatePlanarMillingBuilder(operation)
feedsBuilder = PlanarMillingBuilder.FeedsBuilder

then for reading:
Dim f_rapid_output As Double = objectsFeedsBuilder1.FeedsBuilder.FeedRapidOutput.Value

for editing:
objectsFeedsBuilder1.FeedsBuilder.FeedRapidOutput.Value = CAM.FeedRapidOutputMode.G1

and that for saving other Feeds in the Operation:
camObject = PlanarMillingBuilder.Commit()
...but that saved not the G1/G0 for RapidMode...

is the PlanarMillingBuilder the wrong way?

thanks
Bernd

NX8.5
TC10
VB Journal

Hi,

I have it.

feedsBuilder.FeedRapidOutput.Value = FeedRapidOutputMode.G1
feedsBuilder.FeedRapidBuilder.Value = 10000.0
without "objectsFeedsBuilder1."

and the RapidFeed must set.

thanks für the help

Bernd

NX8.5
TC10
VB Journal