• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

symmetric tolerance with ilogic

  • Thread starter Thread starter reb_bl
  • Start date Start date

reb_bl

Guest
Bye to all,
I tried to set up predefined tolerances, including metric±0.05 symmetric tolerance, with ilogic. the accuracy of quota and tolerance is 4 decimals after the comma and the code is as follows:
Code:
dim odoc as drawingdocumentodoc = thisapplication.activedocument
dim odrawingdims as drawingdimension
dim textoll as string
textoll= "0,05"
dim osset as selectset = odoc.selectset
for each odrawingdims in osset
odrawingdims.tolerance.settosymmetric (textoll)
next
using this code gives me a tolerance of ±0.5, can anyone tell me why?
Thank you.
 
Bye to all,
I tried to set up predefined tolerances, including metric±0.05 symmetric tolerance, with ilogic. the accuracy of quota and tolerance is 4 decimals after the comma and the code is as follows:
Code:
dim odoc as drawingdocumentodoc = thisapplication.activedocument
dim odrawingdims as drawingdimension
dim textoll as string
textoll= "0.05"
dim osset as selectset = odoc.selectset
for each odrawingdims in osset
odrawingdims.tolerance.settosymmetric (textoll)
next
using this code gives me a tolerance of ±0.5, can anyone tell me why?
Thank you.
I solved, I didn't understand the reasoning, but it seems to work this way.
Code:
dim odoc as drawingdocumentodoc = thisapplication.activedocument
dim odrawingdims as drawingdimension
dim textoll as string
textoll= ",005"
dim osset as selectset = odoc.selectset
for each odrawingdims in osset
odrawingdims.tolerance.settosymmetric (textoll)
nex
If anyone wants to enlighten me, come.
 
the 'journey? Sure, because you think he's always cracking!

if you refer to the cm yes, it is true also that :tongue:

from inventor's help (help ? > working with units of measure:
measuring unit: m, mm, cm, ShieMom never...
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top