CFD Online Logo CFD Online URL
Home > Forums > ANSYS Meshing & Geometry

[DesignModeler] change import by scripting

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

LinkBack Thread Tools Display Modes
Old   September 17, 2012, 05:08
Default change import by scripting
New Member
Chen Wei Hsu
Join Date: Sep 2012
Posts: 1
Rep Power: 0
dragonwei is on a distinguished road
Hello everyone,

I need to change the import by using scripting, but it's not replace all model, just only the import I had imported.

Does anybody know about that command?

another question:
I know how to create import(the command is ag.gui.CreateImport("fname")),
but this command can't be used in journals in WB,
it always says "ag.gui is a null not a object".

I want to write DM scripting in journal, like this:

system1 = GetSystem(Name="FFF")
geometry1 = system1.GetContainer(ComponentName="Geometry")
geometry1.SendCommand(Command = """
DM scripting; """)

Please tell me how to solve them.

Thank you very much.
dragonwei is offline   Reply With Quote


ag.gui, import, script

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
[ICEM] Question about the use of ICEM tcl scripting lnk ANSYS Meshing & Geometry 9 January 16, 2013 10:24
[ICEM] ICEM Scripting Issues tylerplowright ANSYS Meshing & Geometry 17 June 3, 2012 21:23
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
import mesh problem Wendy CFX 2 February 6, 2002 06:39
I-DEAS CAD data import with boundary conditions Yunus FLUENT 2 March 14, 2001 15:45

All times are GMT -4. The time now is 02:11.