×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Journaling Help Needed

Journaling Help Needed

Journaling Help Needed

(OP)
thread561-339207: Program for generating XYZ & radius co-ordinate data in UG Nx
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

RE: Journaling Help Needed

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

RE: Journaling Help Needed

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources