Skip to content

Commit

Permalink
Update example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Feb 16, 2016
1 parent cf1df21 commit cd3bfde
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ To install, download [capture.py][] and place it in a directory where Maya can f
>>> capture(width=400, height=200)
>>>
>>> # Launch capture with custom viewport settings
>>> view_opts = ViewportOptions()
>>> view_opts.grid = False
>>> view_opts.polymeshes = True
>>> view_opts.displayAppearance = "wireframe"
>>> cam_opts = CameraOptions()
>>> cam_opts.displayResolution = True
>>> capture('myCamera', 800, 600,
... viewport_options=view_opts,
... camera_options=cam_opts)
>>> capture('persp', 800, 600,
... viewport_options={
... "displayAppearance": "wireframe",
... "grid": False,
... "polymeshes": True,
... },
... camera_options={
... "displayResolution": True
... }
... )
```

0 comments on commit cd3bfde

Please sign in to comment.