|
[Sponsors] |
November 9, 2017, 10:57 |
3D Curve
|
#1 |
New Member
Sama Mohammad
Join Date: Jul 2016
Posts: 5
Rep Power: 9 |
Hi all,
I'm trying to write a code for Design Modeler to execute some repetitive steps, one of these steps is to create 3D curve passing by some points in coordinate file and I'm tryin this JS code: Code:
geometry1.SendCommand( Command = """var Cr1 = ag.gui.CreateCurve(); Cr1.Name = "first"; Cr1.CoordinateFile = "C:/Users/Sama Mohamed/Desktop/sample 3d Crves/3d Curves.txt"; agb.Regen(); """) |
|
November 9, 2017, 12:23 |
|
#2 |
New Member
Sama Mohammad
Join Date: Jul 2016
Posts: 5
Rep Power: 9 |
As an update,
I tried to execute the code through Design Modeler itself without send command as following: Code:
var cr1 = ag.gui.CreateCurve(); cr1.CoordinateFile="C:/Users/Sama Mohamed/Desktop/sample 3d Crves/3d curves.txt"; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 11:12 |
[Gmsh] Vertex numbering is dense | KateEisenhower | OpenFOAM Meshing & Mesh Conversion | 7 | August 3, 2015 10:49 |
meshing of a compound volume in GMSH | shawn3531 | OpenFOAM | 4 | March 12, 2015 10:45 |
block-structured mesh for t-junction | Robert@cfd | ANSYS Meshing & Geometry | 20 | November 11, 2011 04:59 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |