Message 1 of 1
find/copy Mtext string, assign it to attribute

Not applicable
06-22-2017
08:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
background: texts to be replaced by a block (attributes) in paper space of many plans
1<: find and copy text string from a Mtext (in my sample: detail en plan) and paste it in value of an attribute (tag name: titre2, block name: FR-ATTR-****); this text varies from plan to plan, however their coordinates are the same, so I assume script or lisp can find it throught its location?
2<: same thing for another text (text: 12 de 12,again varies from plan to plan; tag name: Feuillet; same block)
3<: change the the third value with a text: 20000-AAA-04 (tag name: planno, same block)
I'm pretty new to lisp/script and have searched related posts but couldn't find exact what I need.
Any help would be much appreciated.