Announcement

Collapse
No announcement yet.

*AVIZO*Changing Snapshot Save directory and clearing view screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • *AVIZO*Changing Snapshot Save directory and clearing view screen

    1) I am currently doing DNS visualization using Avizo(v.2019) python scripting and I am facing problem to change the snapshot save destination which has been set default to an undesired location. The script I have currently written for changing the destination is :

    Code:
        snapshot = hx_project.create('HxSnapshotModule')
        port_savdes=snapshot.ports.snapPath
        port_savdes.SAVE_DIRECTORY=' '  #destination directory
    The error I'm getting is as follows :

    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    AttributeError: '_hx_core.__init__.HxPortFilename' object attribute 'SAVE_DIRECTORY' is read-only


    2) Also to clear all the data objects I'm using remove_all() but instead of clearing the Project view and Viewing window only the Project view is clearly while the output visualization still remains

    Code:
      hx_project_remove_all()
    But it only removes the objects from Project view while the viewing area still shows some of the removed objects anyway.
    I'll attach some photographs to depict the problem more clearly.

    It would be really appreciated if anybody could help me out


  • #2
    Originally posted by Bhushan View Post
    1) I am currently doing DNS visualization using Avizo(v.2019)
    Hi,
    I would like to help you, but we only have Open Inventor experts here!

    I have forwarded your question to the Hotline, but you should contact them directly at: [email protected]

    Regards,
    Mike

    Comment


    • #3
      Hi,
      Thanks for the quick reply and the guidance Mike. Will be folllowing up with the hotline as you said.

      Regards,
      Bhushan

      Comment

      Working...
      X