Professional Documents
Culture Documents
text ''
var !ret REFE
LAYE
handle any
error |You are not on LAYEr or below. Move to correct LAYEr first|
return
endhandle
$* Determine cosines
$M C:\PT\ut_unitv.mac $!vdir
var !vwr split '$!!uhunicos'
$*/PIL-MUMBAI/STD-SYMB-GEN/MISC/ARROW
first memb of /PIL-MUMBAI/STD-SYMB-GEN/MISC/ARROW
handle any
$* $P$!!error.text
DRWG
LIBY 1
NEW SYLB /PIL-MUMBAI/STD-SYMB-GEN/MISC/ARROW-SYLB
var !tol TOLE
TOLERANCE 0.001
NEW SYTM /PIL-MUMBAI/STD-SYMB-GEN/MISC/ARROW
XYPS X97.000 Y93.000 NLPN 1 FONT 1 TPEN 3 CHEI 2.000
NEW STRA
FPT OFFS X0.000 Y0.000
TPT OFFS X4.000 Y0.000 NLPN 213 $(LENG 0.100$)
END
END
TOL $!tol
ERROR |Symbol /PIL-MUMBAI/STD-SYMB-GEN/MISC/ARROW was not defined and is now
created. See further instructions in COMMAND window|
endhandle
label /arwfnd
$!ret
do !i to 3
var !wx[$!i] (0)
var !wy[$!i] (0)
var !wz[$!i] ($!vwr[$!i])
enddo
id @
handle (61,528)
prompt on
return
elsehandle any
error |$!!error.text|
golabel /loop
endhandle
prompt on
var !t TYPE
if ('$!t' eq 'BRAN') then
var !pdir PH DIR wrt /*
else
own
var !t2 TYPE
if ('$!t2' neq 'BRAN') then
if ('$!t' eq 'SLAB') then
SAME
var !tm TMRF
if ('$!tm' eq '/PIL-MUMBAI/STD-SYMB-GEN/MISC/ARROW') then
var !flarw REFE
goto DDNM
var !t TYPE
if ('$!t' eq 'BRAN') then
var !pdir PH DIR wrt /*
else
var !pdir PL DIR wrt /*
endif
golabel /l1
endif
endif
ERROR |$!t selected, NOT a pipe component|
SW
golabel /loop
endif
same
var !pdir PL DIR wrt /*
endif
label /l1
var !ddnm REFE
$!ret
$* call unitvector
$M C:\PT\ut_unitv.mac $!pdir
var !lbv split'$!!uhunicos'
at @
handle any
delete slab
golabel /loop
endhandle
golabel /loop