hi
i need a lisp which can convert to attribute text strings to text..
example :
A / B attribute text to A / B text
A : 1st text string of att block
/ : 2nd text string of att block
B : 3th text string of att block
Hello from France
Not sure to well understand that you need !?
Have you tried the BURST command of the Express Tools ?
Patrice BRAUD
hello
my english is not so good that is why i couldnt explain more specificly ,
Not exactly BURST command because each tag strings became separetly text objects after this command , what i want to do is all attribute text strings values will be include in one text object with the same rows not seperatly
i dont know i could explain well but i hope you can understand of my not good enough english 😃
Hello
So (if I understand well) you need a Lisp/Vlisp routine to "burst" all attributes :
- in ONE MText ?
or
- in ONE Text with all values separated by a "special" chraracter ?
Please remind that the maximum length is something like 255 chars ...
Patrice BRAUD
yes i need a routine to burst all tag text strings ( in one block ) to one Mtext or Text
i wanna explain with an example which i wrote before
my block name is INF-TEXT and there are 3 tag text string in this block
1st tag string text value is "A"
2nd tag string text value is "-" or "/"
3th tag string text value is "B"
routine will take values of this block and will be write to text " A-B" or "A/B"
😃
This is my way:
1. Change the block definition by adding one more attribute to the block, let's say it is Attribute No. 4. Remember put this attribute on a new layer.
2. Use BATTMAN to SYNC all block inserts.
3. Save following code as a lsp file in your disk:
;;; Combine textstring in Att 1 ~ Att 3 (defun ALTEXT_FORMULA () (strcat ALTEXT_ATT_1 ALTEXT_ATT_2 ALTEXT_ATT_3) )
4. Use ALTEXT.vlx, modify Attribute No.4 when it prompts "Which attribute to be changed (Enter 0 to search attribute tag name): Attribute No.<1>: 4"
tick "Formula" in the settings dialogue box to load the formula in Step 3
5. It will fill in Attribute No. 4 with text in the format of "A/B" as you described.
6. Use BURST or EXPLODEALL.vlx to explode the blocks.
7. Isolate the layer of Attribute No. 4
Now you get all combined texts.