Jump to content
Software FX Community

out-map: -labellinkfile and -createlabellinkfile using variable and not file


Recommended Posts

Is it possible to not require a physical file with -labellinkfile or -createlabellinkfile?

I'd like to avoid having to write files to the local host when possible.

I'd like to see -createlabellinkfile and -labellinkfile (along with a renaming) be able to use a simple PS variable object.  For example:

out-map -createlabellinkstring $some_string_variable

out-map -labellinkstring $some_string_variable

Link to comment
Share on other sites

Currently I am afraid this is not possible.

Implementing -createlabellink would not be that hard as we could actually return the string so that you would do

$a = out-map -createlabellinkstring

Supporting -labellinkstring is a bit tricky though, as the map component we use internally expects a file. Our only workaround would be to create a temporary file but this is the same thing you can do today in the script with no additional benefits.

We will consider this for future versions but I don't think we will be able to support this in V1


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...