×
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

Fond farewell to GRIP, hello Knowledge Fusion

Fond farewell to GRIP, hello Knowledge Fusion

Fond farewell to GRIP, hello Knowledge Fusion

(OP)
The time has finally happened when I must leave my friendly world of GRIP and migrate to KF.

I am now staring from scratch and teaching myself!!!! (Again)

The online documentation does not initially seam as good as GRIP with no worked examples & very little in the way of example code or explanations.

So I am starting simple (always the best way I have found)

I have thus created a simple block which is inserted via UI menu, changes size, colour, position etc.

The next thing I tried was to create some KF which would let me select an existing spine and insert a predefined number of points on it....... I am absolutely stumped!!!

Does anyone have the time to create me a quick example, or have something similar so that I can learn from some existing code? Or anything which would help me make sense of this strange new language?

Cheers in advance.

Pondering with a headache.....

RE: Fond farewell to GRIP, hello Knowledge Fusion

just want to throw in a second - some worked examples and generally more complete (any?) documentation would be very useful (necesary?) to learn KF...

RE: Fond farewell to GRIP, hello Knowledge Fusion

This is just a simple example on how to get started with the structure.   http://plmexchange.net/getting-started-with-knowledge-fusion/


#! UG/KBE 17.0
DefClass: singleSelection (ug_base_part);

# Function: SingleSelection Example


# -----ALLOW USER TO EDIT VIA TOOLBAR/MENU-----------
(Name)   APPLY_STATE:   Edit;
(String) APPLY_NAME:   "singleSelection";


(list parameter) singleSelection_LIST: {"1.3", "2.3", "3", "5.8"};
(string parameter) singleSelection: "0";

(string) selected: singleSelection:;

(number) convertedValue: MakeNumber(singleSelection:);


This is a simple example of a KF application with a UI/Styler dialog. You'll need to create the UI/Styler dialog since I can't attach it here.

NX has a KF IDE called ICE, I think it is in NX4 maybe NX5.

To select one item from KF that can only be a curve or edge use:

  (List Parameter) Sel1: {};
  (List)  Sel1_Mode: {Single};
  (List)  Sel1_Mask: { Curve, Edge};

Attach this to a button in a UI/Styler by:

creating a button with a name of Sel1, set the entire dialog callback to REFRESH.

-Dave
http://plmwiki.com
http://groups.google.com/group/NX_CAX/

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