Jscript command for Fill in DesignModeler
What is the Jscript command for Fill in design modeler? Also is there any command/property of bodies and surfaces that states the distance from coordinate system (to name the bodies in the direction of the flow starting from coordinate system)?
|
Hi Kar,
I just replied to one of your thread, have a look in your JS files for answers. Just search Fill in your Ansys folder and it should give you some JS files, go through them and I am sure you will find Fill function. Cheers KAPI |
Hi Kapi,
Thanks for the reply I am not able to access the C drive js files as the software is installed on my Company's Machine and I don't have the admin rights. Is there any other way to get these js files? are these on ansys customer portal? |
Hi kar,
Yes you can find lot of functions with examples on Customer portal. You can find all these JS files in the machine where Ansys is installed , I suggest you ask for Admin rights or get rights once and copy all JS files somewhere safe to access them. Cheers KAPI |
Hello Kapi,
I did search the ansys .js files but could not find command for Fill. Is there any other way to get it? I have read that we can have trial and error with ag.gui.xxxx command generally. So I tried using ag.gui.AddFill(); ag.gui.InsertFill(); ag.gui.CreateFill(); ag.gui.NewFill(); ag.gui.Fill(); but no success. |
Hi Kar,
After quick search, I found the below code from JS files. Try this! Code:
ag.gui.CreateCap(); Cheers KAPI |
Thanks Kapi!!! This command works as expected..
Thanks again Did you search for this command in 'C:\Program Files\ANSYS Inc\v150\aisol\DesignSpace\DSPages\scripts'? |
Does ag.gui command require Design modeler to be open in interactive mode?
|
Hi Kar,
Quote:
Thats the way you should go for any function you need. Quote:
But when updating Geometry in DesignModeler via "parameters" you can choose not to open. Hope It helps, Cheers KAPI |
All times are GMT -4. The time now is 13:35. |