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

[DesignModeler] change import by scripting

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2012, 06:08
Default change import by scripting
  #1
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

Reply

Tags
ag.gui, import, script


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
[ICEM] ICEM Scripting Issues tylerplowright ANSYS Meshing & Geometry 33 September 27, 2021 17:35
[ICEM] Question about the use of ICEM tcl scripting lnk ANSYS Meshing & Geometry 9 January 16, 2013 10:24
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 00:46.