CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-04-2012, 12:12 PM
ldavis@tensorengr.co ldavis@tensorengr.co is offline
Registered User
 
Join Date: Mar 2009
Location: Florida
Posts: 7
PICK_VP_PNT feedback

hello all,

I am working in CoCreate ME10 version 13.20B and have a question regarding how to get feedback on the PICK_VP_PNT command. When using this command the point selected is not necessarily the point used in the program. How do you get what the actaul point location used is?

Larry
Reply With Quote
  #2  
Old 10-04-2012, 03:49 PM
gmatelich's Avatar
gmatelich gmatelich is offline
Registered User
 
Join Date: Oct 2002
Location: Bellevue, WA, USA
Posts: 396
Re: PICK_VP_PNT feedback

My interpretation of PICK_VP_PNT is that it just tells you which viewport was clicked in. If you are after a specific point, I think you want READ PNT

Check this example for making an arrow leader with horizontal beginning, in case it's the kind of feedback you are after:
Code:
DEFINE A
  LOOP
    READ PNT 'PICK START POINT FOR ARROW LEADER' P1
    READ PNT 'PICK SECOND POINT FOR ARROW LEADER' RUBBER_LINE_HORIZONTAL P1
    P2
    LET X (X_OF P2)
    LET Y (Y_OF P1)
    LET P3 (PNT_XY (X) (Y))
    CATCH OFF
    READ PNT 'PICK THIRD POINT FOR ARROW LEADER' RUBBER_LINE P3 P4
    CATCH ALL
    LEADER_ARROW 0.125 ARROW_TYPE
    LEADER_LINE
    LINETYPE
    SOLID
    YELLOW P1 (PNT_XY (X) (Y)) P4
    END
    END
  END_LOOP
END_DEFINE
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:18 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.