×
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

Grip programs.. Need to label pts

Grip programs.. Need to label pts

Grip programs.. Need to label pts

(OP)
Greetz, Need to label points for Fixtures and gages here at our shop...in a quick look through the grip library, I see label_pts  pt_id, which are good start but here's what I'm looking for...I rotate a view around in modeling so I can see the feature I want to identify. Then I make a wcs to the current view and run pt_id.grx ...works great..except I want the point to come from absolute zero...&ABS. I have been playing with the programming but not had too much sucess. Can some one steer me down the correct road?

Thanks much

RE: Grip programs.. Need to label pts

dear friend
    u can use the &WCS GPA and get the wcs in the absolute point after that u can create point at any location ,but u should give exact co-ordinate point to get label
try with this
best of luck

RE: Grip programs.. Need to label pts

(OP)
thanks for the lead...
What I ended up doing was making it 3 model picks.
1st) need to create a wcs to the view and save it(saving it was the root error I wasn't doing)

2nd) run grip program
3rd pick point that you want abs dimentions to.
4th) pick same point
5th) location of the text.

the reason for 2 picks on the same point is that the first one fills the abs xyz, and the second is the location of the leader arrow.

The code looks like this....$$
$$ SELECT POINT FOR LABELLING
$$
SELPNT:
  OLDSYS = &WCS
  &WCS = &ABS
  GPOS/'POINT TO LABEL',M,RESP
  JUMP/DELLST:,STOP:,SELPNT:,,,RESP
  &WCS = OLDSYS
  GPOS/'POINT TO LABEL',N,RESP
  JUMP/DELLST:,STOP:,SELPNT:,,,RESP


the only other change I made was to the label text building, changing the N to the M varb

$$
  MULTLN:
    LABSTR(1)='X '+FSTR(M(1))
    LABSTR(2)='Y '+FSTR(M(2))
    LABSTR(3)='Z '+FSTR(M(3))
    LINCNT=DIMS
  ENDLIN:
Works with out a hitch. Thats the main thing.

Thanks for the direction.
Ken

RE: Grip programs.. Need to label pts

u hgot the result or not????

RE: Grip programs.. Need to label pts

u got the result or not????

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