CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[DesignModeler] Script a Rectangle in DM

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2016, 17:55
Cool Script a Rectangle in DM
  #1
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 10
Kapi is on a distinguished road
Hola Guys!

Just wondering if anyone knows how to script a Rectangle in DM.
I know I can create 4 lines to create a rectangle which needs 4 line of code.
I want to create a rectangle with only (X1,Y1, X2,Y2) which is just 1 line of code.
I am only able to find script for circle, Line and point not rectangle.
tried something like this:
Code:
p.Rt1 = Rectangle(0.327270, 0.369840, 0.328270, 0.411830);
but no success.

Any help will be highly appreciated.

Cheers
KAPI
Kapi is offline   Reply With Quote

Old   November 17, 2016, 00:05
Default
  #2
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 10
Kapi is on a distinguished road
apparently there is no such function!
what a fail Ansys!
Kapi is offline   Reply With Quote

Reply

Tags
design modeler, scripting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Workbench] Run ICEM Script in Workbench Script MIZOR ANSYS Meshing & Geometry 9 April 4, 2018 07:45
[ICEM] Generalize ICEM script for different sizes of same geometry. Akash kumar ANSYS Meshing & Geometry 0 November 16, 2014 08:38
[ICEM] Problem with ICEM Script Meshing asal ANSYS Meshing & Geometry 2 March 23, 2013 19:11
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36
Perl script for intialisation pratik mehta CFX 2 September 10, 2008 03:09


All times are GMT -4. The time now is 20:27.