×
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

ôSpecificö point constructor

ôSpecificö point constructor

ôSpecificö point constructor

(OP)
Hello community,

I am wondering if it is possible to simply [and only] start any construction feature in NX with a simple “launch” command. This means that only the start window of the construction feature is shown. Especially, I am interested in the creation of a point therefore the example provided above will deal with the point constructor.

The code should look something like that.

CODE --> Pseudo

<Launch> Insert -> Datum/Point -> Point…	‘desired feature
Default_config1 = …
Default_config2 = …
</Launch> 

As you can see the aim is to simply start a desired feature. Finally the user will click on a button inside a windows form (VB application which is executed in NX) and the standard point constructor window will appear. The only difference in comparison to manually start the point constructor is the fact that a few options are preconfigured. It is very important to somehow implement an additional line of code in order to do further stuff with exactly this point.

In the past the following strategy worked pretty well (also with a lot of other NX features).


CODE --> VB

Dim Desired_Point As String

…
Dim nXObject1 As NXObject = CType(nXObject1, NXObject)
nXObject1 = pointFeatureBuilder1.Commit()
Desired_Point = nXObject1.JournalIdentifier 

It is possible to access the point via the “Desired_Point” variable for further manipulations. You cannot just click the “Record Journal” button then click on Insert -> Datum/Point -> Point… then set the desired configurations and stop the Journal Recording in order to build a “specific point constructor launcher”.


Needs for the specific point constructor window:

Language: VB
Feature: Insert -> Datum/Point -> Point…

Default configuration:
- Type: Inferred Point
- Settings: Associative [Box is checked]

Filters:
- Type filter: { } [no entry is chosen by default]
- Selection Scope: Entire Assembly


Anyway is this possible in general?

Best regards,
Polynom3000

RE: ôSpecificö point constructor

If you have a UI styler/block styler license, you can build a custom input box using 'building blocks' from standard NX dialog boxes.

If you do not have such a license, there are a few functions that will show dialog boxes for the user to interact with. Among these are:
  • PointConstruct
  • SpecifyScreenPosition
  • SpecifyVector
  • SpecifyPlane
  • SpecifyCsys
Unfortunately, there is no generic 'command launcher'.

www.nxjournaling.com

RE: ôSpecificö point constructor

(OP)
Ok, but thanks anyway. winky smile

Best regards,
Polynom3000

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