read picture |
Post Reply |
Author | |
Gali
Contributor Joined: 28.Jun.2018 Points: 10 |
Post Options
Thanks(0)
Posted: 04.Jul.2018 at 09:43 |
Hi, I defined the Event comment attribute, and the data type is External Element. As shown in the figure, can I show the picture when modeling? |
|
stevek
MetaCase Joined: 11.Mar.2008 Points: 641 |
Answer Post Options Thanks(0) |
When modeling, you can use the External Element widget's pop-up menu's Execute item to open the referenced file or URL. You can also reference the picture in generator output, e.g. as part of Word or HTML exports, to have it appear in the generated file. If you want the picture to appear as part of the symbol, import it into the Symbol Editor instead. If there are a few alternative pictures, you can make them conditional, e.g. on a Fixed List property where the modeler chooses which picture to show. If there are many, it's better to put each picture in its own Library Symbol, and use a Template to choose the correct Library Symbol as Subsymbol. If you want a whole directory of pictures that you could refer to, it's easy enough to generate the MXS file for their library symbols and import that, and add the file names to a Fixed List property's values (Edit as Text). You can see the MXS file format easily if you Export a couple of such symbols. It's a simple XML format: SVG with minor extensions, e.g. scale for images.
|
|
Post Reply | |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |