Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Journaling Help Needed

Status
Not open for further replies.

rbarnthouse

Mechanical
Mar 24, 2014
4
thread561-339207
I've been editing the Frankswinks code from the above post to create a journal to use sketch curves instead of sweep curves. I can't come up with a way to modify the following line of code to tag the sketch curves as he did the sweep curves.

ufs.Modl.AskSweepCurves(theSweep.Tag, nosectioncurves, sectioncurvetags, noprofilecurves, profilecurvetags)

Is this possible? Any help is greatly appreciated.
Thanks,
Ron Barnthouse
NX8.5
Window 7 64bit
 
Replies continue below

Recommended for you

Happy to have a look at this but I am not clear about what you want. If you have a sketch of curves which you import into drafting then the curves can be selected as extracted curves in drafting. If you have created a tube based on curves in a sketch and the view is then imported into drafting then the tube feature can still be selected. It may be that you are getting some errors with the sketch based centreline curves (I have not checked this). If this is so please let me know this.

Frank Swinkels
 
Mark, I use the GTAC forum all the time. In fact, I saw a post there that led me to this forum where I found Franks code that essentially close to what I need.

Frank, I don't claim to really know what I'm doing when writing code but I was able to modify your code to use sketch curves, but probably because the sketch doesn't follow a certain path, the points didn't come out in order. Or, my code was written incorrectly. I went back to your original code, using a sweep function, but I couldn't get the end points of a radius if it was the last element in the sweep or the starting point of the sweep. Either way, my goal is to create a lathe turn chart that populates a tabular note with the X, Z, and Radius values. Whether the use of sketch is best option, I'm not sure. I would also like the tabnote to be associative.

The fact that I am a self taught VB programmer with a CAM background, I just want to say thanks to all the experts out there that are willing to share their knowledge on these forums. I would be totally lost without you guys.

Thanks,
Ron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor