Submitted by karthiksampath on Tue, 05/01/2018 - 08:12
Forums:
Hi,
I need to read sweep feature. I have created a simple sweep using "Sweep along guide" option in NX. Now sweep parameter can be read using "UF_MODL_ask_sweep_parms".
But, I need orientation , guide, section, alignment, scaling which is available at "UF_MODL_ask_sweep". kindly, come out with the syntax that is working to read above said option. Syntax in C++ style is also welcome. Pls, come up with full syntax for "UF_MODL_ask_sweep" which is working.
Waiting for your valuable reply.
Thank you.
re: reading a sweep feature
NX has various "sweep" type of features (sweep along guide, swept, variational sweep, etc); which type of sweep are you looking to query?
I think that Ask_Sweep_Parms is for the sweep along guide feature and Ask_Sweep is for a freeform swept feature.
Read Sweep along guide
my ultimate aim to create a "sweep along guide" using API. I mean write function.
So i tried UF_Modl_create_sweep, as u said it is freeform swept feature.
Suggest function for "Sweep along guide" to read as well write. I need to give input parameters as we give in GUI.
re: sweep along guide
There is a "sweep along guide" builder object which looks like it will create such a sweep. Try recording a journal while creating one of these sweeps to see what commands are used.