Changing imported files through editing map macros
Hi all,
here's a bit more of a technically oriented question from me. Once upon a time, there was an app that let users make these displays, based on those seen in the interiors of the newest generation subway cars in NYC. The app is long defunct now, but I had the notion of trying to recreate the image in CC3+ by importing it into the software and drawing over it, and found I should be able to do so fairly easily.
My question is, would anyone happen to know if there is a way to change an inserted external file through the editing of a map macro or something like that, so that the replacement is a 1:1 drop in, rather than having to mess about with the scale commands or anything of the sort? I was hoping that the "B" in each inserted image would line up precisely, and though the non-visual scale command could likely come very close, I would prefer to have it be as precise as possible.
Thanks!
here's a bit more of a technically oriented question from me. Once upon a time, there was an app that let users make these displays, based on those seen in the interiors of the newest generation subway cars in NYC. The app is long defunct now, but I had the notion of trying to recreate the image in CC3+ by importing it into the software and drawing over it, and found I should be able to do so fairly easily.
My question is, would anyone happen to know if there is a way to change an inserted external file through the editing of a map macro or something like that, so that the replacement is a 1:1 drop in, rather than having to mess about with the scale commands or anything of the sort? I was hoping that the "B" in each inserted image would line up precisely, and though the non-visual scale command could likely come very close, I would prefer to have it be as precise as possible.
Thanks!
Comments
You only need to make sure you export it at the right size - the same size as the original image.
You can do that using the Save as... Rectangular section PNG, (or jpg equivalent as preferred) and setting the options so that the pixel size exported is identical to the original image.
But when using this command, the replacement picture is forced into the exact same dimensions as the old, so if the actual pixel size of the images aren't identical, the new image will be non-proportionally resized to fit.
@Monsen: That is PRECISELY what I was looking for. Thanks so much!
Note that you need to do a manually call to redraw after issuing this command.
And be VERY careful about what I said above by only replacing with an equal name or shorter. This command isn't really intended for regular users, and don't have built-in safeguards, so trying with a longer name may corrupt the drawing.
Also note that you only need to specify the parts of the filename/path you wish to replace, you don't need to type the entire thing (but it works on all images in the drawing, so make sure you don't accidentally change the file name of other image references, like the symbols).