Skip to content

Conversation

@pierrebai-adsk
Copy link
Collaborator

  • Use the fullPath option to the listRelatives commands.
  • Added a unit test.

@pierrebai-adsk pierrebai-adsk added bug Something isn't working adsk Related to Autodesk plugin labels Dec 2, 2025
@pierrebai-adsk pierrebai-adsk self-assigned this Dec 2, 2025
- Use the `fullPath` option to the `listRelatives` commands.
- Improved filtering by being more cautious and also avoiding repeat
  code.
- Added a unit test.
@pierrebai-adsk pierrebai-adsk removed their assignment Dec 2, 2025
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-2767/list-cameras branch from 137a77e to b294f4e Compare December 2, 2025 17:17
@pierrebai-adsk pierrebai-adsk self-assigned this Dec 2, 2025
barbalt
barbalt previously approved these changes Dec 2, 2025
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Dec 2, 2025
@@ -0,0 +1,71 @@
#!/usr/bin/env mayapy
#
# Copyright 2016 Pixar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copyright

# Verify the camera in USD
cam = UsdGeom.Camera.Get(stage, '/cam')
self.assertTrue(cam)
print(stage.GetRootLayer().ExportToString())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for this print?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debugging:) I will remove

Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you fix the copyright and remove the print, don't bother to re-run the preflight. Just message me and I'll merge it.

@seando-adsk seando-adsk added workflows Related to in-context workflows and removed adsk Related to Autodesk plugin labels Dec 3, 2025
@seando-adsk seando-adsk merged commit 66e0f3e into dev Dec 3, 2025
11 checks passed
@seando-adsk seando-adsk deleted the bailp/EMSUSD-2767/list-cameras branch December 3, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ready-for-merge Development process is finished, PR is ready for merge workflows Related to in-context workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants