几何尺寸与公差论坛

 找回密码
 注册
查看: 958|回复: 0

【转帖】code for showing out of tolerance dims. - c-dmis user forum.txt

[复制链接]
发表于 2009-4-6 18:39:23 | 显示全部楼层 |阅读模式
code for showing out of tolerance dims.
currently i have a reort temlate that is in landscae layout. i have been asked to add a section to the reort showing only the out of tolerance dimensions in text only format. the issue is that in the landscae orientation, listing these labels vertically will waste a great deal of sace.
to attemt to make the most use of the sace i'm trying to get the labels to go left to right to to bottom in order (i.e. core #1 to left, core #2 to right, core #3 beneath core #1 label and so on.) i got a chance to talk to some helful guys from the alications deartment, who recommended setting 2 text reort objects side by side and changing the rules so that one only show even # variables and the other uneven. right now the rules i have set are:
if "variablevalue=uneven" then use temlate "out_tol.lbl" (left side)
if "variablevalue=even" then use temlate "out_tol.lbl" (right side)
out_tol is my own custom label. assuming that that language is correct now i need to create a scrit that will count the out of tolerance dimensions so they can aear in the correct lace on the text reort objects. any suggestions on how to do this?
mrw1971
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2025-1-3 10:23 , Processed in 0.035838 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表