navigate  
  Home
Contact Us
Store
Library
Forums
 
     

  Forums

Forums » Customization » Return Radius in kxl file Messages in this topic - RSS
|
30.05.2007 11:06:20
kpoppel
kpoppel
Posts 2

Why would this statment not diplay the radii size of the circle I selected on the screen? I am new to Keycreator 6.5. We just upgraded from Cadkey 99.


GETENT "Select Screw For Hole location...", hEnt, , , , , 
        pause "the radii should be,%d",@dbldat[0]

30.05.2007 12:06:20
CKDExpert
CKDExpert
Posts 131

Kpoppel,


If your Radius is smaller then 1 then you will need to use %.4f in the pause line.
The %d will return a whole number and if it is smaller then .501 (I think) it will round it to 0.


Ken Harris

31.05.2007 07:27:30
kpoppel
kpoppel
Posts 2
Thank you. This worked very well. How simple after you know the answer.
31.05.2007 07:34:57
CKDExpert
CKDExpert
Posts 131

Just as a side note the %.4f means that it will be a 4 places.
%.1f = .0
%.2f = .00
%.3f = .000
%.4f = .0000
%.5f = .00000
and so on! 

pages: 1
|

Forums » Customization » Return Radius in kxl file