Knowledgeware or VBScript Method to control 'Side to Machine' arrow for Profile Contouring MO

Douglas Snell

Knowledgeware or VBScript Method to control 'Side to Machine' arrow for Profile Contouring MO

Has anyone had success controlling the 'Side To Machine' arrow in a Profile Contouring Machining Operation? 

I am working on a Machining Program Template for a Generic Model driven by a Design Table and despite having created geometry in such a way that the Orientation of the curves referenced by the MO is always the same direction ,the Side to machine value insists on flipping at seemingly unpredictable times.  

I thought the 'Contour driving mode' MfgParameter would be the target to control this, but I cannot seem to manipulate it through VB or Knowledge features.

--Doug

 

 

Attachments

  • Side to Machine Arrow.jpg (33.1k)

Douglas Snell

RE: Knowledgeware or VBScript Method to control 'Side to Machine' arrow for Profile Contouring MO
(in response to Douglas Snell)

Well I needed neither of these as a solution.   

Ended up that using a Contour Type Prismatic Machining area held the side to machine static despite the morphing of the underlying geometry very reliably.

Samarinder Singh Cheema

RE: Knowledgeware or VBScript Method to control 'Side to Machine' arrow for Profile Contouring MO
(in response to Douglas Snell)

Hi Doug,

It's been a while since I visited this section of forum as I have been very busy at work. I hope you might have figured it out by now how to flip the arrow on profile guide. If not then let me know I'll share the required VB API for it.

Regards,
Samarinder Singh Cheema

Douglas Snell

RE: Knowledgeware or VBScript Method to control 'Side to Machine' arrow for Profile Contouring MO
(in response to Samarinder Singh Cheema)

I never did discover a solution to control it via VB, unfortunately.  Couldn't find anything in the MfgAttributes that would toggle it.  The Prismatic Area Feature seems to have done a great job of interpreting the direction of the selected curve variable into the correct side to machine.

--Doug

Samarinder Singh Cheema

RE: Knowledgeware or VBScript Method to control 'Side to Machine' arrow for Profile Contouring MO
(in response to Douglas Snell)

Hi,

In ManufacturingPrismaticMachiningArea (Object), we can flip/toggle the side to machine arrows with these following methods available in VB APIs

Dim objPMA1 As ManufacturingPrismaticMachiningArea

Call objPMA1.SetContourSide(iContourNumber,iContourSide)

If a contour is closed then we have to use this method

Call objPMA1.SetClosedContourSide(iContourNumber,iContourSide)

Regards,
Samarinder Singh Cheema

Douglas Snell

RE: Knowledgeware or VBScript Method to control 'Side to Machine' arrow for Profile Contouring MO
(in response to Samarinder Singh Cheema)

Ahh, so I needed to go a level deeper in the MO to get the default Machinable Feature first and then interact with that object.   Thanks for the insight!

--Doug