yoin

BarryCad

In onze tekeningen heb ik van het kader een block gemaakt.
Via een script met attedit kan ik in 1x de teksten aanpassen van een complete set tekeningen.
Ik kan dus teksten/datums veranderen en/of iets toevoegen (waar de tags van het attribute block leeg is).

Ik vraag me af of het mogelijk is om een al bestaande tekst in dat block niet te veranderen, maar te verwijderen.



Even ter beeldvorming:

Heb in een block de TAG staan 'getekend' bij 10 tekeningen staat mijn naam, bij 3 een andere en bij weer 5 weer een andere naam.
Ik wil dus dit veld eerst leeg maken zodat ik daarna alles kan aanpassen naar 1 naam.


Iemand een idee?
AutoCad 2012

hulpje

Barry,

In de EXPRESS tools van AutoCAD zit misschien wel een functie die je kan helpen.
Het betreft de commando's ATTOUT en ATTIN.

Hierbij een stukje uit de Help van Express tools
------------------------------------------------------
Imports block attribute values from an external, tab-delimited ASCII file.

Using ATTIN and ATTOUT together, you can quickly make changes to attribute values for selected block references.

Command: ATTIN
Enter input filename: Use the File dialog box to find and import data from the desired file

If attribute values have been modified, the changes are incorporated into the drawing's block insertions. The input file must be in the format generated by ATTOUT, though it does not have to have been created by ATTOUT


Usage:
When you execute the ATTIN command, it reads through the input file and processes each line. If it finds a block with the same handle and block name as the row it is processing, it applies the attribute changes, if any, to that block. When it has processed all the blocks it can find, it prompts you to assign the remaining data interactively. If you choose Yes, it lists each row's data on the command line and allows you to select a block to apply the attribute to, press ENTER to go to the next row, or press ESC to exit.
-------------------------------------------------------------------------------------------
Succes!

Richard
HELAAS BESTAAT CADToppers.com niet meer
ACP-er (AutoDesk Certified Professional)

Jon Tampon

Je kan ook eerst allen wijzigen naar een ''spatie'' en dan al deze spaties aanpassen naar jou naam, of denk ik nu te simpel?
Windows 8.1 (64 bit)
AutoCAD Mechanical 2016 - English SP1