CFD Online URL
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[DesignModeler] Boolean Function for Script

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 23, 2012, 00:16
Lightbulb Boolean Function for Script
  #1
New Member
 
Mridul
Join Date: Apr 2011
Location: Melbourne, Australia
Posts: 26
Rep Power: 5
makkks is on a distinguished road
Hi guys,

I was just wondering if any1 knows the function which creates BOOLEAN thru script
I checked ansys help, WB scripting but I am not able to find any function or example which depicts how to boolean bodies via script.
Please please if any1 has any idea then let me know.

Cheerz
MAK
makkks is offline   Reply With Quote

Old   October 23, 2012, 21:58
Default
  #2
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Canada
Posts: 1,270
Blog Entries: 23
Rep Power: 19
diamondx will become famous soon enough
Send a message via MSN to diamondx
as far as i know scripting in designmoder applies to sketches only.
Am i wrong ??
__________________
Regards,
New to ICEM CFD, try this document --> http://goo.gl/G2gkE
Ali
diamondx is offline   Reply With Quote

Old   October 23, 2012, 22:04
Default
  #3
New Member
 
Mridul
Join Date: Apr 2011
Location: Melbourne, Australia
Posts: 26
Rep Power: 5
makkks is on a distinguished road
Hi Diamondx,

Thanks for reply.
Well U can record only sketching bit in designmodeler but there are heaps of different function with which u can do revolve, extrude, freeze and all which you may b able to find in Ansys help.
Basically in my model , I m doing sketching, revolving, freezing then boolean and forming new part.
Other than Boolean I was able to do everything thru script.
Basically Boolean and few functions like Body operation are not documented by ansys which is stopping me to go ahead!
makkks is offline   Reply With Quote

Old   October 25, 2012, 02:08
Unhappy
  #4
New Member
 
Mridul
Join Date: Apr 2011
Location: Melbourne, Australia
Posts: 26
Rep Power: 5
makkks is on a distinguished road
Any1 has any idea??
makkks is offline   Reply With Quote

Old   April 29, 2014, 10:15
Default
  #5
New Member
 
Join Date: Feb 2014
Posts: 2
Rep Power: 0
Blunaigel is on a distinguished road
Did you find any solution?
I'm looking for the same information right now.
Blunaigel is offline   Reply With Quote

Old   April 30, 2014, 03:47
Default
  #6
New Member
 
Join Date: Sep 2012
Posts: 26
Rep Power: 4
Nigirim is on a distinguished road
Hi Blunaigel and makkks,

the scriptcommand to create a boolean should be
Code:
ag.gui.CreateBoolean()
It is not documented like many more commands.

I have never used this command before so I can only tell you it exists but not how it works.

If I find something else I will edit it in this post.

Greets
Nigirim
Nigirim is offline   Reply With Quote

Old   November 6, 2014, 18:19
Default
  #7
Member
 
Join Date: Apr 2014
Posts: 44
Rep Power: 2
Kapi is on a distinguished road
Nigirim you are right.

To create Boolean function

Quote:
ag.gui.CreateBoolean()
and to access the item in it, you have to use listview like

Quote:
ag.listview.ActivateItem("Tool Bodies");
once you have activated this item you can select body and "Apply" similarly.

Hope this helps
Kapi is offline   Reply With Quote

Reply

Tags
boolean, design modeler, function, scripting

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 15:00


All times are GMT -4. The time now is 10:22.