Search the Community
Showing results for tags 'ctext'.
Found 2 results
Hi, I am working in Fabrication and am trying to make a lisp that will select all items of a certain cid# (4 and 61) and then run a ctext on them. The lisp is also supposed to run a script at the same time, but that part works fine. This is my code so far... (defun c:etag() (setq ss (ssget)) (setvar "pickfirst" 1) (sssetfirst nil ss) (executescript "Elbow Tagger.cod") if item.cid = 4, 61 then (addctext "AMCI-Full-Elbow-Tag") end if end select) Currently, this lisp will apply the ctext to very part selected. I am only familiar with VB so I was a little lost when trying to tell the lisp to select cid#
I am trying to create my own ctext blocks and associating them with Cadduct pieces. For example i would like an automated insulation tag and pressure tag attached to a piece of straight duct how would i do this? are there any tutorials on this out there? thanks in advance.