|
[Sponsors] |
September 26, 2018, 03:22 |
Split connectors at their intersection
|
#1 |
New Member
Join Date: Sep 2018
Posts: 2
Rep Power: 0 |
Hello everyone,
To split connectors at their intersection, I found that this feature is not provided in pointwise and a script was developed to do so. 'splitconsatintersection.glf'. The issue is that the script failed to launch for me. I tried with a simple two segment connectors and it still failed to launch. I'm working with P 17.2 R1. Did someone faced the issue before ? Thanks for the help This is what I got in the messages screen: Script: ----- TCL TRACE ----- Script: ERROR: bad command (getSelectedEntities): valid choices are: hideAllLayers, Script: setShowConnectors, setCurrentView, isLayerVisible, getShowDatabase, Script: hideLayer, setDoublePrecision, setViewName, getDoublePrecision, Script: getViewName, getCurrentView, getProjection, isSavedView, selectPoint, Script: toggleLayer, createSelectionMask, toggleAllLayers, getLightDirection, Script: setProjection, update, getShowDomains, setLightDirection, Script: setCurrentLayer, showLayer, selectEntities, setShowBodyAxes, Script: setShowDomains, setShowDisabledEntities, clearView, isolateLayer, Script: setShowNodes, setShowDatabase, recallView, getShowDisabledEntities, Script: resetRotationPoint, getCurrentLayer, resetView, getShowXYZAxes, Script: showAllLayers, saveView, getShowBodyAxes, setShowXYZAxes, getShowNodes, Script: or getShowConnectors Script: while executing Script: "pw::Display getSelectedEntities -selectionmask [pw::Display createSelectionMask -requireConnector {}] resultArray" Script: (procedure "getPreSelection" line 3) Script: invoked from within Script: "getPreSelection" Script: (file "C:/Users/Hamidane/Desktop/doner/SplitConsAtIntersection-master/SplitConsAtIntersection-GUI.glf" line 279) Script: --------------------- Info: Script C:/Users/Hamidane/Desktop/doner/SplitConsAtIntersection-master/SplitConsAtIntersection-GUI.glf failed. |
|
September 26, 2018, 21:32 |
|
#2 |
New Member
Quentin d'Avout
Join Date: Oct 2017
Location: Marseille
Posts: 19
Rep Power: 8 |
Hey Fouad,
you can simply use the second connector when splitting the first one, and vice versa. Not automatic, but it works. |
|
September 29, 2018, 11:28 |
|
#3 |
New Member
Join Date: Sep 2018
Posts: 2
Rep Power: 0 |
Thanks for the reply coupsdebambous.
|
|
October 8, 2018, 10:42 |
|
#4 |
Senior Member
Zach Davis
Join Date: Jan 2010
Location: Los Angeles, CA
Posts: 101
Rep Power: 16 |
I believe this is a script I wrote for one of Pointwise's customers who requested this functionality while we were at a conference. It was written for Pointwise v18.0 and later, and the getSelectedEntities Glyph call that is throwing an error indicates it is using an option to getSelectedEntities that wasn't supported in earlier versions of Pointwise. I would recommend upgrading, not just for compatibility with this script, but for all of the new capabilities, bug fixes, and enhancements that have been added over the past 5 or so years.
Otherwise, I would look at your Glyph manual for your version of Pointwise, and see whether an alternative approach could be used at this line. You may be able to comment out this line entirely. It's using some logic to determine whether the user has selected two connectors already, and if so, then skip prompting the user to select two connectors. Best Regards, Zach Davis |
|
Tags |
p17.2 r1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] 2D adaptive Mesh Refinement | baco | OpenFOAM Community Contributions | 80 | August 14, 2022 14:18 |
split intersecting connectors? | flux | Pointwise & Gridgen | 1 | January 13, 2014 09:54 |
[GAMBIT] 3D mesh for pipe intersection | pranab_jha | ANSYS Meshing & Geometry | 3 | May 28, 2010 01:33 |
how to split hex mesh in icem with desired height? | adam2008 | ANSYS Meshing & Geometry | 3 | August 27, 2009 14:59 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |