×
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

Retrieve Tool Data Using VB Journal

Retrieve Tool Data Using VB Journal

Retrieve Tool Data Using VB Journal

(OP)
Hi,

I am trying to write some code to rename a selected tool in the Operation Navigator. I can rename the tool okay but I want the name to be based on the tools attributes, i.e. Diameter, Material type etc... this means I have to pass these values to variables. Problem is I dont know how to get to the values in code. I have attached a screen of the data I am trying to get hold of...

Can anybody tell me how to get the values I need?

Using:
UG NX7.5
.VB  

RE: Retrieve Tool Data Using VB Journal

Hi

I want the same,but for CAM strategies. Rename 5 strategies like,

rough_mill_1, rough_mill_2, rough_mill_3...

only entering the first rename, rough_mill_1 and rename the selected 5 strategies.

Any .VB programming.



 

RE: Retrieve Tool Data Using VB Journal

Record a journal that edits a tool and changes all the parameters you are interested in. Then look at the vb file - you should see the variable names for the parameters you are looking for.

Mark Rief
Product Manager
Siemens PLM

RE: Retrieve Tool Data Using VB Journal

Hi Mark,

I have recorded a simple journal, it changes the strategy names for other ones in automatic mode. The point is that I want, a dialog box to enter my code name, to the selected strategies.
mill_1, mill_1_copy, mill_1_copy_copy etc,to... Mill_1,Mill_2,Mill_3,Rouh_mill_1 etc

 

RE: Retrieve Tool Data Using VB Journal

berri2, you can write a vb program to do this.
Take a look at the sample for renaming operations.  

Mark Rief
Product Manager
Siemens PLM

RE: Retrieve Tool Data Using VB Journal

Hi Mark,

The point is, that I am not a VB programmer. So I don't know how can I reconfigure this program.

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