×
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

Create a point associative to a view
3

Create a point associative to a view

Create a point associative to a view

(OP)
Hello all,

I was wondering if there was any possibility to create a point associative to a view, e.g. when I move the view, the point is moved along with it.

The purpose of this is to create a label which is "bound", e.g. associative to this point, as there are no selectable objects to associate the label to.

Thanks!

Marc
NX Software Developer
 

RE: Create a point associative to a view

Which version are you on?
From nx7.5 on you can create sketches in the views.
Or you can use expand (RMB on the view - expand), then place the point on a curve or something else, close expand view.
Now the point is associative.

Best regards,

Michaël.

NX7.5.4.4 + TC Unified 8.3

 

RE: Create a point associative to a view

(OP)
Hi Michaël,

Thank you for your quick reply.

I am using NX 7.5.4.4.

I am also aware of your solution, but is there another possibility? I need to create the point programmatically.

Thank you!

 

Marc
NX Software Developer
 

RE: Create a point associative to a view

When you say "label" are we talking about an actual 'note' with a 'leader' which appears to be 'pointing' to some point in space, or are we simply talking about a Note which will move when the View moves?

If it's just asking for the ability to create a Note which will move when a View is moved, try this:

When the Annotation dialog is opened, in the 'Origin' section of the dialog expand the area labeled 'Annotation View' and select the 'Select View' option and then on the screen select the View of interest and then place your Note like you would normally.  Now when the View moves so will the Note.

However, if you're talking about a Note with an actual 'leader' pointing to some arbitrary 'point' in the view, then the previous advice given by Michaël to create a sketch in the view of interest consisting of only a single point and then creating your note with the leader attached to that point is about the only approach that I'm aware of.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.com/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Create a point associative to a view

(OP)
Hello John,

I am actually talking about a note with a leader, but thank you very much for your input.

I will have to say that I went with Michaël's solution. However, every time a point is created, the view is expanded and unexpanded, which results to a flickering effect. Unfortunately I cannot expand the view, create all points, then unexand the view due to a tight-knit process.

My next question would be, is there any possibility to prevent this flickering effect, e.g. temporary disable any graphic updates before performing the aforementioned process? I am coding in C.

Thanks again!

Marc
NX Software Developer
 

RE: Create a point associative to a view

While I've never programmed using NX Open using 'C', I have done a lot using GRIP and we had a command there that would temporarily suspend the updating of the graphics which we would use to hide a lot of extraneous stuff like creating points and curves which were only needed temporarily so you would use the 'DRAW/OFF' command, do all your construction and then after you cleaned-up your stuff you'd use the 'DRAW/ON' command to update the display, but of course you would never see what actually had happened, only the final result.  I would expect that NX Open using 'C' would have something similar and if so, I would give that a try.  Do all you point creation while suppressing the display update and then use whatever the command is to perform a single display update at the end.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.com/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Create a point associative to a view

There really is no need to place a point, or sketch, on a view to relate the label to. If you do it according to the below method it will move as the model moves.
Place the label on the drawing - then associate it to a point on the drawing view, based off the model:
edit > annotation > origin > drag (top left icon), associative toggled "on" > pick a point on the model in the view using the point pull down (right side) - it should be a point that you want the label to move with when the view changes (arc center, end point . . .)

I am on NX6

RE: Create a point associative to a view

Yes, but if you wish the end of the arrowhead on the leader to simply point TOWARD something, you do have to have some sort of object to attach it to with a point being the most logical (if you hide it afterwards of course).

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.com/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Create a point associative to a view

The ugopen C function to suspend display update is

int UF_DISP_set_display
(

int display_code

)

int display_code Input display code:
UF_DISP_SUPPRESS_DISPLAY- set display off
UF_DISP_UNSUPPRESS_DISPLAY- set display on

The wrapper method is

Public Sub SetDisplay (display_code As Integer)

Frank Swinkels

RE: Create a point associative to a view

(OP)
Hi Frank,

Thank you very much! It works perfectly now.

Marc
NX Software Developer
 

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