#1
|
||||
|
||||
(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.
|
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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. |
#4
|
||||
|
||||
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.
|
#5
|
||||
|
||||
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?
|
#6
|
||||
|
||||
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.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|