hexagon logo
  • PCL; What is function to get list of CIDs associated to nodes?

    Hello! Is there a function which does the same thing like utilities->list->node/CID lists->CIDs Associated to nodes?
  • PCL; How to get max array value?

    PCL; How to get max array value?
  • String settings to run process

    cmd string is formed using below commands. Process is not executed properly due to spaces in the path. Please suggest. ​exe_path = "C:\Program Files (x86)\test\1.0\CAPA1.exe" filename = "C:\Disck D\Patran/test4.bdf" ​ cmd = exe_path…
  • Fringe Label modifications

    In Fringe plot legend, Maximum value & its element number is displayed. Is there any option to change to minimum value and its element number? Attached Files (1)
  • Creating session file for pressure load mapping using PCL.

    Hi, I have a query regarding load and boundary conditions syntax using PCL. Problem definition: I am creating a session file for GFEM to DFEM pressure mapping using PCL commands. My query is, how patran is writing PLOAD cards for…
  • PATRAN Fringe color modification

    I am plotting my custom results using elemental format in PATRAN and fringe plots are created. Normally lowest value shall be in Blue color and highest value shall be in red color. Is there any option to reverse the color contour to have red for lowest…
  • PCL; mass_prop_create_detailed() - APP error

    Hello! I am trying t write a function which will summarize mass and volume of each mesh group using mass_prop_create_detailed(). The function runs first loop but the next prints out following error. Could you help to debug the function? Is there…
  • [PCL] How to get "bush orientation"? CSYS ID?

    Hello! I am trying to write a script which will list all FEM cbush elements and their orientation CSYS ID. What PCL function can extract this property from "region_id"?
  • PCL; utilities - skin solid elements. How to assure skin normals outside the solid elements?

    Hello! I am using utility skin solid elements which suppose to create shells with normals pointing outside solids. I noticed that for some solid meshes, produced skin has mixed normals. Is there a utility which can fix normals to point out without…
  • PCL; Utilities/Views Based On CoordX - is it possible to execute with PCL?

    Hello! I am investigating possibilities for result display adjustment and I found Utilities/Views Based On CoordX . Running this utility does not produce any PCL output. Is it possible to run this through PCL?
  • I am using the fem_equiv_preview() to highlight nodes to be equivalenced by a session file. The positions are highlighted by circles, but when I move the model, the circles disappear. How do I maintain the circles until they are manually erased.

    I have also tried the fem_equiv_all_group2() but the same problem occurs.
  • I recieve a PATRAN internal error (internal unknown opcode) while creating a point on an already existing point during my PCL run.

    I use overridemessage to create a point on an already existing point like below: ui_override_message(1000034, "YESTOALL") I have this situation in my routine in several places and it Works well. The following is a part of the session…
  • Error while Creating pressure using fields. please see error description.

    FUNCTION field_pr() ## Variable Declaration STRING s_name[32] STRING type[32] STRING elm_type[32] INTEGER e_dim STRING a_kind[32] STRING elm[256](1) STRING ap_region[32] STRING field_name[256](1) STRING…
  • How to loop through load cases.

    I would like to know how I can loop through load cases and performs plot contour pressure then create a field assign pressure and go back to next load case and do the same operation again. post group, group 1----create plot contour (pressure)-…
  • How to Create multiple fields based on number of load case.

    I am trying to create multiple fields based on load case count using PCL. My requirement is every time the field name should be changed. I used concatenate option. But it doesn't work. Any other way it can be done ? Please find my code below . …
  • Is it possible to dump load case id, load case name etc... in to excel using PCL function ?

    Is it possible to dump load case id, load case name etc... in to excel using PCL function ?
  • How can I create a button in Patran and assign a PCL function to perform an activity when clicked on it . Thanks in advance.

    How can I create a button in Patran and assign a PCL function to perform an activity when clicked on it . Thanks in advance.
  • I would like to know any PCL function to plot contour----pressure----for a particular case ---all sets----Top Surface pr--- selected group---- and then Apply to create a contour plot. Thanks in advance.

    I would like to know any PCL function to plot contour----pressure----for a particular case ---all sets----Top Surface pr--- selected group---- and then Apply to create a contour plot. Thanks in advance.