青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
查看: 4403|回复: 10

[疑难] 怎样修改后处理的序列号

[复制链接]
发表于 2008-4-24 13:55 | 显示全部楼层 |阅读模式
怎样修改后处理的序列号,如下./ @5 p( U) U: E  h
N0001*5 |4 f. V' M- c% S' t- r9 H
N0002*0 y+ B* X3 x7 I8 L& \
.......... *0 Z: G4 ^& U4 Q$ r# W; O
N9999*& i& E2 [2 T( z* G3 t
改为4 T/ y. e' |+ r* b( u3 A
N1*
, E0 K; |! R, ]7 V/ N8 Q! e3 @N2*) u# K& L! E' y( e+ P+ g
........% l, S- ]; p+ H4 p6 }# q) E3 y5 Z
N9999*
发表于 2008-6-19 23:30 | 显示全部楼层
modify  format date
发表于 2008-6-19 23:30 | 显示全部楼层
ddd
发表于 2008-6-19 23:31 | 显示全部楼层
modify  format date
发表于 2008-8-5 15:53 | 显示全部楼层
期待高手
发表于 2008-8-15 17:12 | 显示全部楼层
前导零去掉就OK!
发表于 2008-8-16 19:10 | 显示全部楼层
谢谢分享
发表于 2008-9-3 20:36 | 显示全部楼层
相关的函数
, X6 X- ^6 a( cMOM_set_seq_on
! `( m8 S0 y, ]" y! e( v MOM Commands
' d5 E/ w9 |! d8 Y. @- j Allows output of the sequence number if a SEQUENCE specifier was given in the definition file.  Return the sequence setting at the time the command is exectued.  Example: set current_status [MOM_set_seq_on]  ... if ($current_status = = ''off'') { MOM_set_seq_off }  # ~6 V' O0 n4 c5 K0 d. }
+ V" ~( h$ Y2 V" [" o
MOM_set_seq_off
" b: B) U/ V2 \. @# l MOM Commands
! o- |: Y1 M+ {3 I Does not output a sequence number. Returns the sequence setting at the time the command is exectued. Example: set current_status [MOM_set_seq_off] ... if ($current_status = = ''on'') { MOM_set_seq_on }
. L3 {) r- I$ ]1 r: c5 G
  c" b' y+ h$ }) SMOM_reset_sequence
; B% j: i# K* Q! O MOM Commands, W$ h2 g- x8 q5 ~/ c  e
A sequence is a block template that is output at the beginning of each line. It will typically be used to output sequence numbers but it may also be used to output any block template.  Example: MOM_reset_sequence 10 10 1
发表于 2008-9-3 20:45 | 显示全部楼层
d:\1234.jpg
1234.JPG
发表于 2008-10-15 18:42 | 显示全部楼层
多谢大虾知道了,,哈哈
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|关于我们|sitemap|小黑屋|Archiver|手机版|UG网-UG技术论坛-青华数控模具培训学校 ( 粤ICP备15108561号 )

GMT+8, 2024-5-6 22:27 , Processed in 0.226186 second(s), 27 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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