cancel
Showing results for 
Search instead for 
Did you mean: 

NX Journal

Experimenter
Experimenter

Hello,

 

I'd like to create a simple journal which creates product from the part. But for this I need to know how to switch the option "Enforced Piece Part". I there a way how to change this?

 

Many thanks,

Martin

2 REPLIES

Re: NX Journal

Siemens Phenom Siemens Phenom
Siemens Phenom

 

Hi Martin,

 

In user function (Open C) we have a method called UF_PART_set_enforce_piece_part() to do that.  This is also available as a wrapper method in .Net - something like:

 

   theUfsession.Part.SetEnforcePiecePart(myPart.Tag, true)

 

Regards,

 

Steve

Re: NX Journal

Experimenter
Experimenter

Hi Steve,

 

it works. Many thanks.

 

Regards,

Martin