Channel Apps
[BBcode] 

ABAQUS Notes, How-to's, Guides.: 02: Python scripting

Customizing GUI on startup


Include the following snippet in abaqus_v6.env with the appropriate statements to load custom settings for your ABAQUS GUI:
def onCaeStartup():
    import section
    import regionToolset
    import displayGroupMdbToolset as dgm
    import part
    import material
    import assembly
    import step
    import interaction
    import load
    import mesh
    import optimization
    import job
    import sketch
    import visualization
    import xyPlot
    import displayGroupOdbToolset as dgo
    import connectorBehavior
    session.graphicsOptions.setValues(backgroundStyle=SOLID,
        backgroundColor='#ffffff', translucencyMode=2)

The required lines can be obtained from the replay abaqus.rpy file in the working directory, make the change you want and find the corresponding command in the replay file and add it to your environment file as above.