• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Patran
  3. PCL; Is there a PCL function which adjust FEM viewing to...

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Verified Answer
  • Replies 3
  • Subscribers 2
  • Views 22
  • Members are here 0
More Content

PCL; Is there a PCL function which adjust FEM viewing to show location of some selected property eg. max Von Mises.

adam.narozniak
adam.narozniak over 3 years ago
Hello! I would like Patran to automaticaly adjust FEM viewing (by rotation and view fit) to show max Von Mises. Is there already PCL function which does the job?
  • Sign in to reply
  • Cancel
  • edwin.goei
    0 edwin.goei over 3 years ago
    I've not seen this function in the GUI so I don't think there's a PCL function that does this either.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Arthur Hickson
    0 Arthur Hickson over 3 years ago
    I have a partial answer that might be useful.
    If you are creating the plots with your own PCL then you have (or could get) the 5 result_ids that define the result being plotted. Given the result_ids you can call the res_utl_extract_nodal_results2 (or …_elem_.. ) function which has return arguments for the minloc and maxloc, which can be used to find the relevant IDs from the ids array.
     
    So knowing the max value is at a particular node (elem) you could tap into the shareware “Local View” utility (Utilities/view/Local View) as follows:
    If "node 18" was the node with the max value you can call:
     
    ui_exec_function("ajh_view_local","init")
    ajh_view_local.get_current_view()
    ajh_view_local.point("Node 18")
    ajh_view_local.apply_transforms()
     
    for an "element 20" the corresponding calls would be:
     
    ui_exec_function("ajh_view_local","init")
    ajh_view_local.get_current_view()
    ajh_view_local.element("Element 20")
    ajh_view_local.apply_transforms()
     
     
    in these examples I have hard coded the string argument for Node18 and Element 20.
     
    Sequence of calls is to:
    1 initialize ajh_view_local
    2 get current view settings
    3 specify the object to create a new local view coordinate system, use your node/element with max value
    4 shift the object to screen centre and set rotation about this object
     
    Then optionally you might want to orientate the view using the “local view” coordinate system
     
    ajh_view_local.front_view()
     
    best regards
    Arthur
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • adam.narozniak
    0 adam.narozniak over 2 years ago
    How to make display along a vector ? Views based on CordX in Utilities does not do the job.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information