×
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

How to Use Block styler (.dlx) with Knowledge Fusion classes (.dfa)

How to Use Block styler (.dlx) with Knowledge Fusion classes (.dfa)

How to Use Block styler (.dlx) with Knowledge Fusion classes (.dfa)

(OP)
NX UI stylers (.dlg legacy) are convenient to make and goes hand in hand with Knowledge Fusion classes(.dfa), I mean to say it gets instantly linked with UI via matching attribute names(.dfa->.dlg).

Currently, I am usning NX9 and observe that now a day’s the “UI styler” are getting replaced by “Block stylers” (.dlx) for betterment in NX-Open, can anyone help me out to know whether, I can use “Block Styler” with KF Class similar to UI? (.dfa->.dlx)

If the answer is yes, it will be grateful if you can put any clue to get binding string.

Thanks in Advance!

RE: How to Use Block styler (.dlx) with Knowledge Fusion classes (.dfa)

It works a bit different (easier?) with BlockStyler.
You define a KF class that extends the %ui_comp class. Your class can then define dialog blocks using instances of %ui_comp_??? classes.
Its hard to describe the entire details of how to do it here, but I'll attach an example class file of mine and maybe you can work it out from there.
Note that the example class file references bitmaps etc for some of the blocks, but I have not included those, so the class will not work as-is.

Graham Inchley, Systems Developer, Sandvik Coromant. www.sandvik.com
HP EliteBook 8760w, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP4 64bit
Testing: NX9.0.2.5

RE: How to Use Block styler (.dlx) with Knowledge Fusion classes (.dfa)

(OP)
Dear Graham,
Your post is helpful to understand the working of BlockStyler with KF!
At the same time, I am bit surprise to see that it is not working as UI-Styler use to.

Thanks for your prompt support.

Regards,
Amit

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