Hi RC community!
Looking for help with the ‘select image’ command. We’re hoping to select about 25-50% of the images in a component with this command.
Any ideas?
Cheers!
Hi RC community!
Looking for help with the ‘select image’ command. We’re hoping to select about 25-50% of the images in a component with this command.
Any ideas?
Cheers!
Hi Visualskies 1,
you can use _selectImages _command as you wrote.
|
selectImages
|
imagePath|regexp
| |
Select a specified image (imagePath) or images defined by regular expression (regexp).
|
You can write exact image path to each image or use regular expression to choose the wanted images.
Hey do you have an example of a working regular expression?
We tried a few things but nothing worked unfortunately.
Also can’t seem to find the command for exporting maya cameras?
Many thanks!
Hi,
for example this is working:
-selectImage *9.* ^
-invertImageSelection ^
If it is not possible to find, then this command doesn’t exist.
Hi Ondrej,
It says it was completed 2 years ago here:
Sorry for misunderstanding.
You can export this by command exportRegistration with this params.xml file:
<Configuration id=“{2D5793BC-A65D-4318-A1B9-A05044608385}”>
<entry key=“calexUndistResMode” value=“2”/>
<entry key=“calexUndistPrincipal” value=“true”/>
<entry key=“calexTrans” value=“1”/>
<entry key=“calexHasDisabled” value=“0x0”/>
<entry key=“calexRequiresUndistortPrincipal” value=“0x0”/>
<entry key=“calexExportImages” value=“false”/>
<entry key=“MvsExportScaleZ” value=“1.0”/>
<entry key=“MvsExportIsGeoreferenced” value=“0x0”/>
<entry key=“MvsExportIsModelCoordinates” value=“0”/>
<entry key=“MvsExportScaleY” value=“1.0”/>
<entry key=“calexRequiresEqualResolution” value=“0x0”/>
<entry key=“calexDownscale” value=“0x1”/>
<entry key=“calexUndistMaxPixels” value=“0”/>
<entry key=“MvsExportScaleX” value=“1.0”/>
<entry key=“calexUndistFitMode” value=“2”/>
<entry key=“MvsExportRotationY” value=“0.0”/>
<entry key=“MvsExportcoordinatesystemtype” value=“1”/>
<entry key=“MvsExportNormalFlipZ” value=“false”/>
<entry key=“MvsExportRotationX” value=“0.0”/>
<entry key=“hasCalexFilePath” value=“1”/>
<entry key=“MvsExportNormalFlipY” value=“false”/>
<entry key=“MvsExportNormalSpace” value=“Mikktspace”/>
<entry key=“calexHasUndistort” value=“2”/>
<entry key=“bImagePlane” value=“true”/>
<entry key=“MvsExportNormalFlipX” value=“false”/>
<entry key=“MvsExportRotationZ” value=“0.0”/>
<entry key=“calexFileFormat” value=“Maya 2013 ascii scene”/>
<entry key=“MvsExportMoveZ” value=“0.0”/>
<entry key=“calexFileFormatId” value=“{93B7C9C6-2D00-4A4F-B3E7-FBFBFF5C2895}”/>
<entry key=“hasCalexFileName” value=“1”/>
<entry key=“calexUndistCutOut” value=“1.0”/>
<entry key=“calexHasImageExport” value=“1”/>
<entry key=“MvsExportMoveX” value=“0.0”/>
<entry key=“MvsExportNormalRange” value=“ZeroToOne”/>
<entry key=“MvsExportMoveY” value=“0.0”/>
</Configuration>