Abaqus python script code to access active model/part in Abaqus/C
Abaqus python script code to access active model/part in Abaqus/C
(OP)
I am attempting to make a code which will automatically assign a part object variable, say myPart, to the part that is active in my Abauqs/CAE GUI.
Ex 1) ** Hard Coding
myPart= mdb.models['Model-1'].parts['Part-1']
Ex 2) ** User Inputs
modName = getinput ('Enter Model Name')
partPame = getinput ('Enter Part Name')
myPart = mdb.models[modName].parts[partName ]
Rather than using methods as defined above, I am search for something like
myPart = activePartInGuiDisplay (or whatever is needed to accomplish such an action)
Any help is appreciated.
Ex 1) ** Hard Coding
myPart= mdb.models['Model-1'].parts['Part-1']
Ex 2) ** User Inputs
modName = getinput ('Enter Model Name')
partPame = getinput ('Enter Part Name')
myPart = mdb.models[modName].parts[partName ]
Rather than using methods as defined above, I am search for something like
myPart = activePartInGuiDisplay (or whatever is needed to accomplish such an action)
Any help is appreciated.
Much Thanks,
-Wibbs13





RE: Abaqus python script code to access active model/part in Abaqus/C
CODE -->
RE: Abaqus python script code to access active model/part in Abaqus/C