Accessimport part mdb.models[name].parts[name].allInternalSurfaces[name] mdb.models[name].parts[name].allSurfaces[name] mdb.models[name].parts[name].surfaces[name] import assembly mdb.models[name].rootAssembly.allinstances.surfaces[name] mdb.models[name].rootAssembly.allInternalSurfaces[name] mdb.models[name].rootAssembly.allSurfaces[name] mdb.models[name].rootAssembly.instances[name].surfaces[name] mdb.models[name].rootAssembly.modelInstances[i].surfaces[name] mdb.models[name].rootAssembly.surfaces[name] Surface(...)
This method creates a surface from a sequence of objects in a model database. The surface will apply to the sides specified by the arguments.For example, surface=mdb.models['Model-1'].parts['Part-1'].Surface(side1Faces=side1Faces, name='Surf-1') Pathmdb.models[name].parts[name].Surface mdb.models[name].rootAssembly.Surface Required argumentsOn three-dimensional solid faces, you can use the following arguments:
On three-dimensional shell faces, you can use the following arguments:
On three-dimensional wire edges, you can use the following arguments:
On three-dimensional or two-dimensional or axisymmetric edges, you can use the following arguments:
On two-dimensional or axisymmetric shell elements, you can use the following arguments:
On solid elements, you can use the following arguments:
On three-dimensional shell elements, you can use the following arguments:
On three-dimensional wire elements, you can use the following arguments:
On two-dimensional or axisymmetric wire elements, you can use the following arguments:
Optional arguments
Return valueA Surface object. ExceptionsInvalidNameError. Surface(...)
This method copies a surface from an existing surface. Pathmdb.models[name].parts[name].Surface mdb.models[name].rootAssembly.Surface Required arguments
Optional argumentsNone. Return valueA Surface object. ExceptionsInvalidNameError. SurfaceByBoolean(...)
This method creates a surface by performing a boolean operation on two or more input surfaces. Pathmdb.models[name].parts[name].SurfaceByBoolean mdb.models[name].rootAssembly.SurfaceByBoolean Required arguments
Optional arguments
Return valueA Surface object. ExceptionsInvalidNameError. SurfaceFromElsets(...)
This method creates a surface from a sequence of element sets in a model database. Pathmdb.models[name].rootAssembly.SurfaceFromElsets Required arguments
Optional argumentsNone. Return valueA Surface object. ExceptionsInvalidNameError. MembersThe Surface object can have the following members:
|