Software Development Kit (SDK) and API Discussions

Beginner question - CG Snapshots with Python

alexj
2,837 Views

Does anyone have a good tutorial or code example of taking a CG snapshot across multiple volumes with the SDK for Python? I'm most curious about how you go about building the XML for cg-start and sending it with invoke. So far I have only retrieved data via the APIs.

 

Thanks!

1 ACCEPTED SOLUTION

alexj
2,816 Views

Figured it out - you construct the NaElement and send that with invoke_elem. NaElement is constructed using NaElement(), element.child_add_string(), and element.child_add().

View solution in original post

1 REPLY 1

alexj
2,817 Views

Figured it out - you construct the NaElement and send that with invoke_elem. NaElement is constructed using NaElement(), element.child_add_string(), and element.child_add().

Public