change import by scripting
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?
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.
|All times are GMT -4. The time now is 19:42.|