CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 04-25-2003, 03:38 AM
Lim Chee Beng's Avatar
Lim Chee Beng Lim Chee Beng is offline
Registered User
 
Join Date: Nov 2002
Location: Malaysia
Posts: 210
Angry (INQ 101) point offset

When I try to INQ_ELEM one of REFLINE in my simple drawing, I found (INQ 101) and (INQ 102) giving the points offset by 17.2131147540983,31.1475409836066 from actual REFLINE position. But, I can inquire correctly for LINE and other entities. Is there any hidden setting made the value offset? Or, possibly I did something wrong in my drawing environment inadvertently make it offset? My drawing unit is in mm.
Reply With Quote
  #2  
Old 04-25-2003, 08:52 AM
John Scheffel's Avatar
John Scheffel John Scheffel is offline
Administrator
 
Join Date: Sep 2002
Location: San Jose, CA
Posts: 1,288
I just tried it and INQ 101 and 102 returned the REFLINE begin and end points respectively just as Help indicates they should. Can you provide the drawing file that has the problem so others can try it?
__________________
John Scheffel
Reply With Quote
  #3  
Old 04-27-2003, 06:30 PM
Lim Chee Beng's Avatar
Lim Chee Beng Lim Chee Beng is offline
Registered User
 
Join Date: Nov 2002
Location: Malaysia
Posts: 210
One example mi file is sent to John. It was created in my OSDD 2002+ version. 3 cyan lines and 2 green reflines were drawn. Then I use INQ_ELEM and LINE commands to draw 2 red lines by inquiring (INQ 101) and (INQ 102) of 2 previous reflines. Below is the recorded steps by TRACE command.

INQ_ELEM
PICK_VP_PNT 1 13.7684450646421,-45.8286520131791
LINE ( INQ 101 ) 38.4003572589728,-24.9712439999277 ( INQ 102 )
24.7530674980892,-6.3524415404365
INQ_ELEM
PICK_VP_PNT 1 -2.67086409299621,-51.546672589749 ( INQ 101 )
11.3982196606531,-9.2768607749115 ( INQ 102 )
16.6621742827082,-29.3578728516402
END

I tried similar steps on the other PCs and only 2/6 work correctly. Offset is vary from one PC to another for the 4 "bad" PCs. Can anybody kindly help to point out my mistake?

Thanks in advance.
Reply With Quote
  #4  
Old 04-27-2003, 06:37 PM
Lim Chee Beng's Avatar
Lim Chee Beng Lim Chee Beng is offline
Registered User
 
Join Date: Nov 2002
Location: Malaysia
Posts: 210
Anyway, it doesn't seems to be file dependent, but probably PC related problem. The same file used in multiple PC but (INQ 101) is different from one to another.
Reply With Quote
  #5  
Old 04-28-2003, 01:10 AM
Lim Chee Beng's Avatar
Lim Chee Beng Lim Chee Beng is offline
Registered User
 
Join Date: Nov 2002
Location: Malaysia
Posts: 210
Lightbulb Is this the way it supposed to be?

Finally I found out that CS_REF_PT plays a role here. The values of of REFLINE start point (INQ 101) and end point (INQ 102) are always referring back to ABSOLUTE coordinate but the rest (LINE, ARC etc) are based on current coordinate. My mistake was, I thought that xy value of any point given must be based on current coordinate system. Is this a bug or purposely made this way for certain reason?


Reply With Quote
  #6  
Old 05-08-2003, 04:40 PM
Lim Chee Beng's Avatar
Lim Chee Beng Lim Chee Beng is offline
Registered User
 
Join Date: Nov 2002
Location: Malaysia
Posts: 210
No, it's a bug.

It's mistakenly coded that way. CoCreate support guy also found that the INQuiry result of REFLINE will be always given in unit of INCH, regardless user's unit setting.
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 06:31 PM.



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.