Got it working ![]()
displacement 20170803 (fixed).py (19.8 KB)
These are the changes I made
-
configuration.jsonneeds to have innerHeightFieldPath set to an image, otherwise something goes wonky - Removed most of the incompatible options from the
_TextObjectcommand -
_SaveAs=>_Save(saving things works differently on Mac) - One of your command strings had a syntax error where it was joining the Guid with the next “Copy” option - I’m surprised it worked on Windows?
_-Flow _SelID a04a4119-a1af-4470-8aa8-c64135ca2517Copy=No Rigid=No Local=No Stretch=No _SelID d37f11d9-c2dd-429d-a5d6-b252a3faf7d5Copy=No Rigid=No Local=No Stretch=No
Also I added a function at the top to override rs.Command for debugging purposes - you can uncomment the last line to ‘step through’ the script manually and see the output at each stage.
rs._Command = rs.Command
def PauseCommand(*args, **kwargs):
print "Running Command: {}".format(args)
rs.GetString("Press Enter to continue")
rs._Command(*args, **kwargs)
# uncomment the next line to manually "pause" at each command stage
# rs.Command = PauseCommand

