# -*- coding: mbcs -*-
#
# Abaqus/CAE Version 6.7-1 replay file
# Internal Version: 2007_05_01-12.35.33 79448
# Run by Marco on Sat May 16 15:35:52 2009
#

# from driverUtils import executeOnCaeGraphicsStartup
# executeOnCaeGraphicsStartup()
#: Executing "onCaeGraphicsStartup()" in the site directory ...
from abaqus import *
from abaqusConstants import *
session.Viewport(name='Viewport: 1', origin=(0.0, 0.0), width=334.268463134766, 
    height=263.933319091797)
session.viewports['Viewport: 1'].makeCurrent()
session.viewports['Viewport: 1'].maximize()
from caeModules import *
from driverUtils import executeOnCaeStartup
executeOnCaeStartup()
openMdb('Lagerbock.cae')
#: The model database "D:\Studium\BSK\Abaqus\Lagerbock.cae" has been opened.
session.viewports['Viewport: 1'].setValues(displayedObject=None)
p = mdb.models['Lagerbock'].parts['Platte-L']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5082.05, 
    farPlane=7897.78, width=5667.7, height=3340.25, viewOffsetX=336.542, 
    viewOffsetY=117.406)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5846.26, 
    farPlane=9382.08, width=3413.05, height=2011.48, viewOffsetX=43.5182, 
    viewOffsetY=9.19746)
a = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr-2-H']
a.Instance(name='Rohr-2-H-1', part=p, dependent=OFF)
p1 = a.instances['Rohr-2-H-1']
p1.translate(vector=(1558.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6239.79, 
    farPlane=9437.62, width=275.472, height=162.349, viewOffsetX=-68.2361, 
    viewOffsetY=111.012)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6007.2, 
    farPlane=9670.22, width=3395.42, height=2001.09, viewOffsetX=123.162, 
    viewOffsetY=44.0095)
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6133.35, 
    farPlane=9544.07, width=1522.8, height=897.459, viewOffsetX=-46.7299, 
    viewOffsetY=63.6648)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6223.03, 
    farPlane=9732.99, width=1545.07, height=910.582, cameraPosition=(1572.88, 
    -1404.83, 9367.01), cameraUpVector=(-0.216751, 0.960735, -0.173228), 
    viewOffsetX=-47.4132, viewOffsetY=64.5958)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6007.31, 
    farPlane=9877.49, width=1491.51, height=879.017, cameraPosition=(4286.16, 
    444.064, 8654.73), cameraUpVector=(-0.45981, 0.857551, -0.230611), 
    viewOffsetX=-45.7696, viewOffsetY=62.3566)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5906.96, 
    farPlane=9977.84, width=3185.74, height=1877.51, viewOffsetX=-204.092, 
    viewOffsetY=48.1324)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6041.06, 
    farPlane=9338.36, width=3258.07, height=1920.14, cameraPosition=(4634.31, 
    5404.58, -2238.26), cameraUpVector=(-0.936067, 0.296927, 0.188712), 
    viewOffsetX=-208.726, viewOffsetY=49.2251)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-2-H-1'].faces
f2 = a.instances['Rohr-1-V-1'].faces
a.FaceToFace(movablePlane=f1[17], fixedPlane=f2[2], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5705.17, 
    farPlane=9489.44, width=3076.92, height=1813.38, cameraPosition=(3130.7, 
    4457.94, -4187.63), cameraUpVector=(-0.836743, 0.362457, 0.410471), 
    viewOffsetX=-197.12, viewOffsetY=46.4881)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-2-H-1'].faces
f2 = a.instances['Rohr-1-V-1'].faces
a.FaceToFace(movablePlane=f1[2], fixedPlane=f2[17], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5659.97, 
    farPlane=9616.82, width=3052.55, height=1799.01, cameraPosition=(-1214.91, 
    2793.23, -5279.82), cameraUpVector=(-0.263826, 0.629446, 0.730885), 
    viewOffsetX=-195.558, viewOffsetY=46.1198)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-2-H-1'].faces
f2 = a.instances['Rohr-1-V-1'].faces
a.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=OFF, clearance=0.0)
#: The instance "Rohr-2-H-1" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6590.05, 
    farPlane=9036.97, width=3554.17, height=2094.64, cameraPosition=(7036.45, 
    4518.88, 2213.33), cameraUpVector=(-0.794843, 0.522799, -0.308068), 
    viewOffsetX=-227.693, viewOffsetY=53.6985)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6110.09, 
    farPlane=10068.7, width=3295.31, height=1942.09, cameraPosition=(3639.64, 
    -3854.31, 8017.13), cameraUpVector=(-0.332024, 0.909124, 0.251502), 
    viewOffsetX=-211.11, viewOffsetY=49.7875)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6108.53, 
    farPlane=10070.2, width=3759.04, height=2215.38, viewOffsetX=-214.285, 
    viewOffsetY=119.155)
a = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr-3-H']
a.Instance(name='Rohr-3-H-1', part=p, dependent=OFF)
p1 = a.instances['Rohr-3-H-1']
p1.translate(vector=(1558.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-3-H-1'].faces
f2 = a.instances['Rohr-1-V-1-1'].faces
a.FaceToFace(movablePlane=f1[16], fixedPlane=f2[2], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6071.5, 
    farPlane=9408.52, width=3608.75, height=2126.81, cameraPosition=(679.776, 
    -6159.2, -3433.6), cameraUpVector=(0.00292987, -0.338635, 0.940913))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-3-H-1'].faces
f2 = a.instances['Rohr-1-V-1-1'].faces
a.FaceToFace(movablePlane=f1[2], fixedPlane=f2[16], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5732.59, 
    farPlane=9995.44, width=3407.31, height=2008.09, cameraPosition=(-2585.51, 
    -3675.46, -4668.8), cameraUpVector=(0.320217, -0.68125, 0.6583))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-3-H-1'].faces
f2 = a.instances['Rohr-1-V-1-1'].faces
a.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=OFF, clearance=0.0)
#: The instance "Rohr-3-H-1" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6258.2, 
    farPlane=9346.67, width=3719.72, height=2192.21, cameraPosition=(6254.51, 
    -5434.39, 3230.65), cameraUpVector=(-0.763676, -0.107681, 0.636557))
a = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr-1-V']
a.Instance(name='Rohr-1-V-2', part=p, dependent=OFF)
p1 = a.instances['Rohr-1-V-2']
p1.translate(vector=(1576.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-1-V-2'].faces
f2 = a.instances['Rohr-3-H-1'].faces
a.FaceToFace(movablePlane=f1[6], fixedPlane=f2[17], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5973.93, 
    farPlane=10759.4, width=5002.3, height=2948.1, cameraPosition=(-4048.99, 
    -5715.72, 4677.38), cameraUpVector=(0.312856, 0.606944, 0.730575))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-1-V-2'].faces
f2 = a.instances['Rohr-3-H-1'].faces
a.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5620.09, 
    farPlane=10078.1, width=4706.01, height=2773.48, cameraPosition=(-3067.13, 
    -3962.16, -4280.16), cameraUpVector=(-0.479821, -0.134635, 0.866975))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-1-V-2'].faces
f2 = a.instances['Rohr-3-H-1'].faces
a.FaceToFace(movablePlane=f1[16], fixedPlane=f2[2], flip=OFF, clearance=0.0)
#: The instance "Rohr-1-V-2" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6035.7, 
    farPlane=9567.93, width=5054.03, height=2978.58, cameraPosition=(-5458.87, 
    -4675.86, -394.154), cameraUpVector=(-0.213706, 0.530283, 0.820445))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6353.95, 
    farPlane=9609.6, width=5320.52, height=3135.64, cameraPosition=(2285.36, 
    -7597.71, 4338.17), cameraUpVector=(-0.20808, 0.603673, 0.769598))
a = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr-5-H']
a.Instance(name='Rohr-5-H-2', part=p, dependent=OFF)
p1 = a.instances['Rohr-5-H-2']
p1.translate(vector=(1570.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=5763.16, 
    farPlane=9856.64, width=4679.66, height=2757.95, cameraPosition=(5290.83, 
    -5760.04, 4850.79), cameraUpVector=(-0.545017, 0.461623, 0.6999))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-5-H-2'].faces
f2 = a.instances['Rohr-1-V-2'].faces
a.FaceToFace(movablePlane=f1[10], fixedPlane=f2[2], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6219.63, 
    farPlane=9241.1, width=5050.31, height=2976.39, cameraPosition=(1372.15, 
    -7812.05, -560.106), cameraUpVector=(0.403273, 0.127386, 0.90617))
session.viewports['Viewport: 1'].view.setValues(nearPlane=5616.89, 
    farPlane=9949.36, width=4560.89, height=2687.95, cameraPosition=(-2416.3, 
    -6031.92, -2692.23), cameraUpVector=(0.489844, -0.392471, 0.778473))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-5-H-2'].faces
f2 = a.instances['Rohr-1-V-2'].faces
a.FaceToFace(movablePlane=f1[2], fixedPlane=f2[16], flip=OFF, clearance=0.0)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-5-H-2'].faces
f2 = a.instances['Rohr-1-V-2'].faces
a.FaceToFace(movablePlane=f1[16], fixedPlane=f2[0], flip=OFF, clearance=0.0)
#: The instance "Rohr-5-H-2" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=5849.52, 
    farPlane=9711.89, width=4749.79, height=2799.28, cameraPosition=(4246.08, 
    -6530.89, 4731.51), cameraUpVector=(-0.805528, 0.254243, 0.535243))
a = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr-1-V']
a.Instance(name='Rohr-1-V-3', part=p, dependent=OFF)
p1 = a.instances['Rohr-1-V-3']
p1.translate(vector=(1576.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6095.14, 
    farPlane=10541, width=5068.86, height=2987.32, cameraPosition=(6292.67, 
    4413.24, 5589.56), cameraUpVector=(-0.49904, -0.560153, 0.661202))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6501.53, 
    farPlane=9901.95, width=5406.82, height=3186.5, cameraPosition=(4405.1, 
    -7639.08, 2942.19), cameraUpVector=(-0.437195, 0.315509, 0.842208))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-1-V-3'].faces
f2 = a.instances['Rohr-5-H-2'].faces
a.FaceToFace(movablePlane=f1[6], fixedPlane=f2[0], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6052.28, 
    farPlane=10891.6, width=5033.21, height=2966.31, cameraPosition=(-3751.15, 
    -6544.33, -1174.78), cameraUpVector=(0.116037, -0.089847, 0.989173))
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-1-V-3'].faces
f2 = a.instances['Rohr-5-H-2'].faces
a.FaceToFace(movablePlane=f1[16], fixedPlane=f2[2], flip=OFF, clearance=0.0)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-1-V-3'].faces
f2 = a.instances['Rohr-5-H-2'].faces
a.FaceToFace(movablePlane=f1[0], fixedPlane=f2[16], flip=OFF, clearance=0.0)
#: The instance "Rohr-1-V-3" is fully constrained
a = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr-2-H']
a.Instance(name='Rohr-2-H-2', part=p, dependent=OFF)
p1 = a.instances['Rohr-2-H-2']
p1.translate(vector=(1558.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6463.83, 
    farPlane=10163.9, width=5069.77, height=2987.86, cameraPosition=(652.071, 
    -7760.76, -2436.2), cameraUpVector=(-0.327874, -0.129216, 0.935843))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6508.14, 
    farPlane=10119.6, width=4291.98, height=2529.47, viewOffsetX=-209.537, 
    viewOffsetY=-567.923)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-2-H-2'].faces
f2 = a.instances['Rohr-1-V-3'].faces
a.FaceToFace(movablePlane=f1[17], fixedPlane=f2[2], flip=ON, clearance=0.0)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-2-H-2'].faces
f2 = a.instances['Rohr-1-V-3'].faces
a.FaceToFace(movablePlane=f1[6], fixedPlane=f2[16], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6045.04, 
    farPlane=10377.7, width=3986.58, height=2349.48, cameraPosition=(-2884.23, 
    -6657.37, -2519.73), cameraUpVector=(0.0532662, -0.233211, 0.970966), 
    viewOffsetX=-194.627, viewOffsetY=-527.511)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr-2-H-2'].faces
f2 = a.instances['Rohr-1-V-3'].faces
a.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=OFF, clearance=0.0)
#: The instance "Rohr-2-H-2" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6626.62, 
    farPlane=9608.84, width=4370.12, height=2575.52, cameraPosition=(-6515.33, 
    -4264.48, 1438.51), cameraUpVector=(0.12258, 0.46093, 0.87893), 
    viewOffsetX=-213.352, viewOffsetY=-578.262)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6346.75, 
    farPlane=10306.5, width=4185.55, height=2466.75, cameraPosition=(2505.88, 
    -7624.47, 5530.49), cameraUpVector=(0.0500705, 0.760226, 0.647726), 
    viewOffsetX=-204.341, viewOffsetY=-553.84)
a = mdb.models['Lagerbock'].rootAssembly
a.deleteFeatures(('Rohr 6 S-1', 'Face to Face-7', ))
mdb.save()
#: The model database has been saved to "D:\Studium\BSK\Abaqus\Lagerbock.cae".
session.viewports['Viewport: 1'].view.setValues(nearPlane=6405.68, 
    farPlane=9987.51, width=4224.42, height=2489.65, cameraPosition=(-1803.24, 
    -7945.67, 4115.3), cameraUpVector=(0.155983, 0.586519, 0.794774), 
    viewOffsetX=-206.238, viewOffsetY=-558.982)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-1', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-1']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6612.24, 
    farPlane=9787.28, width=5018.98, height=2957.93, cameraPosition=(8585.93, 
    -1494.92, 3260.88), cameraUpVector=(-0.441473, 0.581246, 0.68356))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6163.26, 
    farPlane=10184.4, width=4678.18, height=2757.08, cameraPosition=(3963.33, 
    -7324.13, 4614.44), cameraUpVector=(0.169226, 0.775423, 0.608344))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6265.93, 
    farPlane=9984.44, width=4756.11, height=2803.01, cameraPosition=(320.137, 
    -7790.44, 5149.11), cameraUpVector=(0.362078, 0.685402, 0.631762))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6171.18, 
    farPlane=10024.6, width=4684.19, height=2760.63, cameraPosition=(-2432.69, 
    -7542.65, 4167.23), cameraUpVector=(0.510214, 0.449343, 0.73333))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-1'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5912.34, 
    farPlane=10592.1, width=4487.74, height=2644.84, cameraPosition=(-3575.45, 
    -5821.92, -3073.57), cameraUpVector=(-0.0515041, -0.264877, 0.962906))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-1'].faces
f2 = a1.instances['Rohr-5-H-2'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[2], flip=OFF, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-1'].faces
f2 = a1.instances['Rohr-2-H-2'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[16], flip=OFF, clearance=0.0)
#: The instance "U-Profil-1" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6261.37, 
    farPlane=9942.85, width=4752.67, height=2800.98, cameraPosition=(-2340.89, 
    -7741.28, -935.591), cameraUpVector=(0.121423, 0.00176579, 0.992599))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6513.96, 
    farPlane=9629.29, width=4944.4, height=2913.98, cameraPosition=(-2486.9, 
    -8039.86, 1821.86), cameraUpVector=(0.271106, 0.298293, 0.915163))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6433.9, 
    farPlane=9709.36, width=5443.41, height=3208.06, viewOffsetX=-57.1768, 
    viewOffsetY=8.20154)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-2', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-2']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-2'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[14], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6587.48, 
    farPlane=9819.51, width=2058.05, height=1212.91, viewOffsetX=-424.925, 
    viewOffsetY=-366.728)
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Face to Face-28']
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-2'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6685.1, 
    farPlane=9757.64, width=2088.55, height=1230.88, cameraPosition=(-2048.92, 
    -8077.23, 1570.03), cameraUpVector=(0.205524, 0.299019, 0.931852), 
    viewOffsetX=-431.222, viewOffsetY=-372.162)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-2'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[2], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6242.37, 
    farPlane=9853.46, width=1950.23, height=1149.37, cameraPosition=(-2182.95, 
    -7434.76, -1497.29), cameraUpVector=(-0.0253498, -0.0277798, 0.999293), 
    viewOffsetX=-402.664, viewOffsetY=-347.515)
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Face to Face-29']
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-2'].faces
f2 = a1.instances['U-Profil-1'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6107.59, 
    farPlane=9835.24, width=3557.16, height=2096.4, viewOffsetX=-194.326, 
    viewOffsetY=-45.5668)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-2'].faces
f2 = a1.instances['U-Profil-1'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
#: The instance "U-Profil-2" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6605.25, 
    farPlane=9349.73, width=3847, height=2267.22, cameraPosition=(-788.966, 
    -8392.14, 877.029), cameraUpVector=(-0.0276767, 0.277237, 0.960403), 
    viewOffsetX=-210.16, viewOffsetY=-49.2797)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-3', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-3']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6583.7, 
    farPlane=9456.14, width=3967.03, height=2337.96, viewOffsetX=-4.53894, 
    viewOffsetY=-182.971)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6444.39, 
    farPlane=9560.37, width=3883.08, height=2288.49, cameraPosition=(-2676.95, 
    -7839.43, 991.017), cameraUpVector=(0.245992, 0.182999, 0.95184), 
    viewOffsetX=-4.4429, viewOffsetY=-179.099)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-3'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-3'].faces
f2 = a1.instances['U-Profil-2'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6167.77, 
    farPlane=9768.27, width=3716.41, height=2190.26, cameraPosition=(-1982.83, 
    -7707.09, -973.044), cameraUpVector=(-0.0868262, 0.0556228, 0.994669), 
    viewOffsetX=-4.25219, viewOffsetY=-171.411)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-3'].faces
f2 = a1.instances['U-Profil-2'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
#: The instance "U-Profil-3" is fully constrained
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-4', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-4']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6185.64, 
    farPlane=10021, width=4904.36, height=2890.38, cameraPosition=(-3459.77, 
    -7314.04, -407.854), cameraUpVector=(0.0623902, 0.0683595, 0.995708))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-4'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-4'].faces
f2 = a1.instances['U-Profil-3'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6458.21, 
    farPlane=9672.17, width=1580.3, height=931.348, viewOffsetX=-172.218, 
    viewOffsetY=-531.295)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-4'].faces
f2 = a1.instances['U-Profil-3'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
#: The instance "U-Profil-4" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6845.15, 
    farPlane=9376.17, width=1674.98, height=987.148, cameraPosition=(-1958.83, 
    -8255.81, 1999.54), cameraUpVector=(0.144918, 0.353305, 0.924215), 
    viewOffsetX=-182.536, viewOffsetY=-563.127)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6581.87, 
    farPlane=9639.44, width=4637.7, height=2733.22, viewOffsetX=180.651, 
    viewOffsetY=-115.837)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-5', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-5']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-5'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-5'].faces
f2 = a1.instances['U-Profil-4'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6134.81, 
    farPlane=9811.84, width=4689.25, height=2763.6, cameraPosition=(-2248.93, 
    -7740.05, -579.585), cameraUpVector=(-0.0198018, 0.100844, 0.994705))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-5'].faces
f2 = a1.instances['U-Profil-4'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
#: The instance "U-Profil-5" is fully constrained
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-6', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-6']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6277.39, 
    farPlane=10034.1, width=4784.33, height=2819.64, cameraPosition=(-3210.86, 
    -7552.71, -273.45), cameraUpVector=(0.0876722, 0.0737854, 0.993413))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-6'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-6'].faces
f2 = a1.instances['U-Profil-5'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-6'].faces
f2 = a1.instances['U-Profil-5'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
#: The instance "U-Profil-6" is fully constrained
mdb.save()
#: The model database has been saved to "D:\Studium\BSK\Abaqus\Lagerbock.cae".
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-7', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-7']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-7'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-7'].faces
f2 = a1.instances['U-Profil-6'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-7'].faces
f2 = a1.instances['U-Profil-6'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
#: The instance "U-Profil-7" is fully constrained
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-8', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-8']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-8'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-8'].faces
f2 = a1.instances['U-Profil-7'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-8'].faces
f2 = a1.instances['U-Profil-7'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
#: The instance "U-Profil-8" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6622.66, 
    farPlane=9961.3, width=4883.22, height=2877.92, cameraPosition=(-3927.08, 
    -7509.98, 2323.11), cameraUpVector=(0.218329, 0.351726, 0.910286))
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-9', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-9']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-9'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6234.91, 
    farPlane=10326.5, width=4805.24, height=2831.96, cameraPosition=(-2295.87, 
    -7850.7, -296.479), cameraUpVector=(-0.242418, 0.243284, 0.939173))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-9'].faces
f2 = a1.instances['U-Profil-8'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-9'].faces
f2 = a1.instances['U-Profil-8'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
#: The instance "U-Profil-9" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6071.08, 
    farPlane=9884.61, width=4678.98, height=2757.55, cameraPosition=(-2731.3, 
    -7427.36, 3901.35), cameraUpVector=(-0.0301277, 0.672904, 0.739116))
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-10', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-10']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6182.64, 
    farPlane=10031.8, width=4970.06, height=2929.1, cameraPosition=(-4104.88, 
    -6885.87, 3392.53), cameraUpVector=(0.0651622, 0.611914, 0.788235))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-10'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[0], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6148.35, 
    farPlane=10415, width=4942.5, height=2912.86, cameraPosition=(-3497.93, 
    -7198.94, -659.37), cameraUpVector=(-0.358732, 0.348614, 0.865898))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6163.11, 
    farPlane=10400.3, width=4525.64, height=2667.18, viewOffsetX=-397.498, 
    viewOffsetY=-222.181)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-10'].faces
f2 = a1.instances['U-Profil-9'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=-300.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6164.92, 
    farPlane=10386.5, width=4526.96, height=2667.96, cameraPosition=(-4182.52, 
    -6669.15, 3857.1), cameraUpVector=(0.000263512, 0.712044, 0.702135), 
    viewOffsetX=-397.615, viewOffsetY=-222.246)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-10'].faces
f2 = a1.instances['U-Profil-9'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
#: The instance "U-Profil-10" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=6573.06, 
    farPlane=9664.42, width=4826.67, height=2844.59, cameraPosition=(-1679.06, 
    -8325.47, 2281.09), cameraUpVector=(0.102649, 0.405626, 0.908257), 
    viewOffsetX=-423.939, viewOffsetY=-236.959)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['U-Profil']
a1.Instance(name='U-Profil-11', part=p, dependent=OFF)
p1 = a1.instances['U-Profil-11']
p1.translate(vector=(1364.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=6396.43, 
    farPlane=9852.06, width=4825.27, height=2843.77, cameraPosition=(6568.74, 
    -5988.04, 2035.51), cameraUpVector=(-0.209675, 0.367366, 0.906134))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6192.41, 
    farPlane=9820.67, width=4671.37, height=2753.07, cameraPosition=(-4642.69, 
    -6503.35, 2670.42), cameraUpVector=(0.411818, 0.266949, 0.871289))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-11'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[2], fixedPlane=f2[0], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5824.7, 
    farPlane=10001.9, width=4393.99, height=2589.59, cameraPosition=(-5315.47, 
    -3942.73, 5647.78), cameraUpVector=(0.77082, 0.19175, 0.607511))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-11'].faces
f2 = a1.instances['U-Profil-10'].faces
a1.FaceToFace(movablePlane=f1[12], fixedPlane=f2[12], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5828.42, 
    farPlane=9998.17, width=4895.11, height=2884.92, viewOffsetX=54.1395, 
    viewOffsetY=212.971)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['U-Profil-11'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[17], flip=OFF, clearance=0.0)
#: The instance "U-Profil-11" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=5919.23, 
    farPlane=9910.9, width=4971.38, height=2929.87, cameraPosition=(-5665.93, 
    -4423.19, 4594.66), cameraUpVector=(0.709449, 0.105619, 0.696797), 
    viewOffsetX=54.983, viewOffsetY=216.289)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5876.92, 
    farPlane=9954.76, width=4935.85, height=2908.93, cameraPosition=(-5532.08, 
    -4404.32, 4869.87), cameraUpVector=(0.717056, 0.153499, 0.679904), 
    viewOffsetX=54.59, viewOffsetY=214.743)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5819.32, 
    farPlane=10313.7, width=4887.47, height=2880.42, cameraPosition=(2850.04, 
    -5118.13, 7692.85), cameraUpVector=(0.405346, 0.909731, 0.0899161), 
    viewOffsetX=54.055, viewOffsetY=212.638)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6012.65, 
    farPlane=9913.33, width=5049.85, height=2976.12, cameraPosition=(-3908.82, 
    -6712.46, 3928.44), cameraUpVector=(0.0631808, 0.685065, 0.725737), 
    viewOffsetX=55.8509, viewOffsetY=219.702)
mdb.save()
#: The model database has been saved to "D:\Studium\BSK\Abaqus\Lagerbock.cae".
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Platte-L']
a1.Instance(name='Platte-L-1', part=p, dependent=OFF)
p1 = a1.instances['Platte-L-1']
p1.translate(vector=(0.0, 0.0, 1.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=8019.55, 
    farPlane=14257.3, width=5621.59, height=3313.08, cameraPosition=(-6579.62, 
    -6757.32, -3244.02), cameraUpVector=(-0.156043, 0.0409007, 0.986903))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte-L-1'].faces
f2 = a1.instances['U-Profil-3'].faces
a1.FaceToFace(movablePlane=f1[15], fixedPlane=f2[2], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8461.57, 
    farPlane=13167.8, width=5931.45, height=3495.69, cameraPosition=(-3060.92, 
    9513.16, 3338.99), cameraUpVector=(-0.381172, -0.655381, 0.652061))
session.viewports['Viewport: 1'].view.setValues(nearPlane=8263.18, 
    farPlane=13686.2, width=5792.38, height=3413.73, cameraPosition=(-1998.74, 
    8457.08, 7209.65), cameraUpVector=(-0.0722413, -0.806681, 0.586555))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte-L-1'].faces
f2 = a1.instances['U-Profil-11'].faces
a1.FaceToFace(movablePlane=f1[1], fixedPlane=f2[1], flip=OFF, clearance=0.0)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte-L-1'].faces
f2 = a1.instances['U-Profil-11'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[13], flip=OFF, clearance=0.0)
#: The instance "Platte-L-1" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=8801.55, 
    farPlane=11692.9, width=6169.78, height=3636.15, cameraPosition=(-9629.11, 
    -2182.43, 1962.97), cameraUpVector=(0.380471, -0.0719276, 0.921992))
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Platte-R']
a1.Instance(name='Platte-R-1', part=p, dependent=OFF)
p1 = a1.instances['Platte-R-1']
p1.translate(vector=(0.0, 0.0, 1.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=8653.8, 
    farPlane=15083.7, width=5093.44, height=3001.81, cameraPosition=(-7998.87, 
    -5920.89, -3069.24), cameraUpVector=(0.0557085, -0.177824, 0.982484))
session.viewports['Viewport: 1'].view.setValues(nearPlane=8969.96, 
    farPlane=14776.2, width=5279.52, height=3111.48, cameraPosition=(-9247.29, 
    -5245.27, 2922.63), cameraUpVector=(0.540467, -0.127198, 0.831695))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte-R-1'].faces
f2 = a1.instances['U-Profil-5'].faces
a1.FaceToFace(movablePlane=f1[14], fixedPlane=f2[2], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8992.54, 
    farPlane=13098.2, width=5292.82, height=3119.31, cameraPosition=(-6712.99, 
    -8966.44, 1536.4), cameraUpVector=(0.43155, 0.0575235, 0.900253))
session.viewports['Viewport: 1'].view.setValues(nearPlane=8684.35, 
    farPlane=13581.5, width=5111.43, height=3012.41, cameraPosition=(-7062.52, 
    -4454.69, 8637.8), cameraUpVector=(0.817868, 0.20018, 0.539463))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte-R-1'].faces
f2 = a1.instances['U-Profil-11'].faces
a1.FaceToFace(movablePlane=f1[3], fixedPlane=f2[1], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9276.03, 
    farPlane=13629.7, width=5459.68, height=3217.65, cameraPosition=(2802.4, 
    -11575.3, 5271.65), cameraUpVector=(0.336373, 0.629921, 0.700038))
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte-R-1'].faces
f2 = a1.instances['U-Profil-11'].faces
a1.FaceToFace(movablePlane=f1[2], fixedPlane=f2[12], flip=OFF, clearance=0.0)
#: The instance "Platte-R-1" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=9229.7, 
    farPlane=12513, width=5432.41, height=3201.58, cameraPosition=(-10031.4, 
    -2540.56, 3422.05), cameraUpVector=(0.460449, 0.16836, 0.871574))
p = mdb.models['Lagerbock'].parts['Platte-L']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
s = mdb.models['Lagerbock'].ConstrainedSketch(name='__profile__', 
    sheetSize=4000.0)
g, v, d, c = s.geometry, s.vertices, s.dimensions, s.constraints
s.setPrimaryObject(option=STANDALONE)
session.viewports['Viewport: 1'].view.setValues(nearPlane=3132.21, 
    farPlane=4410.26, width=9196.48, height=5419.93, cameraPosition=(1778.84, 
    181.819, 3771.24), cameraTarget=(1778.84, 181.819, 0))
s.rectangle(point1=(0.0, 0.0), point2=(878.0, 2980.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=2935.88, 
    farPlane=4606.59, width=9944.57, height=5860.82, cameraPosition=(1839.79, 
    1307.76, 3771.24), cameraTarget=(1839.79, 1307.76, 0))
s.sketchOptions.setValues(gridOrigin=(289.0, 140.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3528.9, 
    farPlane=4013.58, width=2884.98, height=1700.26, cameraPosition=(680.404, 
    413.262, 3771.24), cameraTarget=(680.404, 413.262, 0))
s.CircleByCenterPerimeter(center=(289.0, 140.0), point1=(300.5, 140.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3640.71, 
    farPlane=3901.76, width=1553.9, height=915.786, cameraPosition=(500.339, 
    289.321, 3771.24), cameraTarget=(500.339, 289.321, 0))
s.copyMove(vector=(300.0, 0.0), objectList=(g[6], ))
s.copyMove(vector=(0.0, 300.0), objectList=(g[6], g[7]))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3621.08, 
    farPlane=3921.39, width=2319.08, height=1366.75, cameraPosition=(582.903, 
    347.158, 3771.24), cameraTarget=(582.903, 347.158, 0))
s.copyMove(vector=(0.0, 300.0), objectList=(g[6], g[7], g[8], g[9]))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3663.65, 
    farPlane=3878.83, width=1280.81, height=754.842, cameraPosition=(449.605, 
    389.999, 3771.24), cameraTarget=(449.605, 389.999, 0))
s.delete(objectList=(g[8], ))
s.delete(objectList=(g[10], ))
s.delete(objectList=(g[9], ))
s.copyMove(vector=(0.0, 300.0), objectList=(g[6], ))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3646.96, 
    farPlane=3895.51, width=1479.43, height=871.898, cameraPosition=(498.843, 
    708.179, 3771.24), cameraTarget=(498.843, 708.179, 0))
s.copyMove(vector=(0.0, 300.0), objectList=(g[12], g[13]))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3634.48, 
    farPlane=3907.99, width=1627.99, height=959.453, cameraPosition=(534.105, 
    1135.1, 3771.24), cameraTarget=(534.105, 1135.1, 0))
s.copyMove(vector=(0.0, 300.0), objectList=(g[15], g[16]))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3667.54, 
    farPlane=3874.93, width=1234.46, height=727.524, cameraPosition=(436.067, 
    1378.66, 3771.24), cameraTarget=(436.067, 1378.66, 0))
s.copyMove(vector=(0.0, 300.0), objectList=(g[17], g[18]))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3602.42, 
    farPlane=3940.05, width=2009.7, height=1184.41, cameraPosition=(489.266, 
    1653.98, 3771.24), cameraTarget=(489.266, 1653.98, 0))
s.copyMove(vector=(0.0, 300.0), objectList=(g[19], g[20]))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3506.47, 
    farPlane=4036, width=3151.95, height=1857.6, cameraPosition=(599.58, 
    1995.21, 3771.24), cameraTarget=(599.58, 1995.21, 0))
s.sketchOptions.setValues(gridOrigin=(289.0, 1940.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3467.9, 
    farPlane=4074.57, width=4086.83, height=2408.57, cameraPosition=(520.811, 
    2220.36, 3771.24), cameraTarget=(520.811, 2220.36, 0))
s.copyMove(vector=(0.0, 900.0), objectList=(g[17], g[18], g[19], g[20], g[21], 
    g[22]))
session.viewports['Viewport: 1'].view.setValues(nearPlane=3154.74, 
    farPlane=4387.73, width=7339.18, height=4325.33, cameraPosition=(677.128, 
    1976.38, 3771.24), cameraTarget=(677.128, 1976.38, 0))
p = mdb.models['Lagerbock'].Part(name='Part-10', dimensionality=THREE_D, 
    type=DEFORMABLE_BODY)
p = mdb.models['Lagerbock'].parts['Part-10']
p.BaseSolidExtrude(sketch=s, depth=27.0)
s.unsetPrimaryObject()
p = mdb.models['Lagerbock'].parts['Part-10']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
del mdb.models['Lagerbock'].sketches['__profile__']
mdb.models['Lagerbock'].parts.changeKey(fromName='Part-10', toName='Platte M')
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Platte M']
a1.Instance(name='Platte M-1', part=p, dependent=OFF)
p1 = a1.instances['Platte M-1']
p1.translate(vector=(1357.8, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=10409.5, 
    farPlane=14608.1, width=2522.18, height=1486.44, viewOffsetX=812.536, 
    viewOffsetY=-80.7753)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9521.84, 
    farPlane=15365.9, width=2307.1, height=1359.68, cameraPosition=(-7492.51, 
    -8044.46, 3815.38), cameraUpVector=(0.358871, 0.37311, 0.85557), 
    viewOffsetX=743.247, viewOffsetY=-73.8872)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9267.09, 
    farPlane=15419.8, width=2245.38, height=1323.31, cameraPosition=(-2522.95, 
    -8572.45, 8732.31), cameraUpVector=(0.264244, 0.786449, 0.558277), 
    viewOffsetX=723.362, viewOffsetY=-71.9104)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9019.54, 
    farPlane=15667.3, width=6155.16, height=3627.53, viewOffsetX=1051.07, 
    viewOffsetY=612.323)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9024.17, 
    farPlane=15762.9, width=6158.32, height=3629.4, cameraPosition=(-4183.7, 
    -9757.18, 5477.41), cameraUpVector=(0.118594, 0.636741, 0.761904), 
    viewOffsetX=1051.61, viewOffsetY=612.638)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte-R-1'].faces
f2 = a1.instances['Platte M-1'].faces
a1.FaceToFace(movablePlane=f1[15], fixedPlane=f2[24], flip=OFF, clearance=0.0)
#: Warning: The order of fixed and movable entities was swapped to avoid a dependency cycle.
session.viewports['Viewport: 1'].view.setValues(nearPlane=8953.23, 
    farPlane=15521.9, width=6109.92, height=3600.87, cameraPosition=(-5282.78, 
    -7718.43, -5385.31), cameraUpVector=(-0.472035, 0.152244, 0.868334), 
    viewOffsetX=1043.34, viewOffsetY=607.822)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte M-1'].faces
f2 = a1.instances['Platte-R-1'].faces
a1.FaceToFace(movablePlane=f1[3], fixedPlane=f2[1], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9193.58, 
    farPlane=13602.4, width=6273.94, height=3697.54, cameraPosition=(-6733.16, 
    -7686.26, -3710.2), cameraUpVector=(-0.207806, 0.106111, 0.972398), 
    viewOffsetX=1071.35, viewOffsetY=624.139)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10461, 
    farPlane=15001.4, width=7138.86, height=4207.28, cameraPosition=(-8195.15, 
    4730.06, -6380.01), cameraUpVector=(-0.391273, -0.241072, 0.888138), 
    viewOffsetX=1219.04, viewOffsetY=710.182)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9110.98, 
    farPlane=13734.4, width=6217.58, height=3664.32, cameraPosition=(-6379.43, 
    -7652.42, -4266.6), cameraUpVector=(-0.406731, 0.269323, 0.872946), 
    viewOffsetX=1061.72, viewOffsetY=618.531)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10560.7, 
    farPlane=15336.6, width=7206.92, height=4247.39, cameraPosition=(-6147.48, 
    5885.91, -7748.51), cameraUpVector=(-0.579828, -0.25385, 0.774183), 
    viewOffsetX=1230.66, viewOffsetY=716.952)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Platte M-1'].faces
f2 = a1.instances['Platte-R-1'].faces
a1.FaceToFace(movablePlane=f1[2], fixedPlane=f2[0], flip=ON, clearance=22.0)
#: The instance "Platte M-1" is fully constrained
session.viewports['Viewport: 1'].view.setValues(nearPlane=9625.34, 
    farPlane=13088.4, width=6568.61, height=3871.2, cameraPosition=(-9364.93, 
    -6256.16, 899.604), cameraUpVector=(0.237817, 0.191737, 0.952197), 
    viewOffsetX=1121.66, viewOffsetY=653.452)
mdb.save()
#: The model database has been saved to "D:\Studium\BSK\Abaqus\Lagerbock.cae".
session.viewports['Viewport: 1'].view.setValues(nearPlane=9426.03, 
    farPlane=13446.3, width=6432.6, height=3791.04, cameraPosition=(6368.02, 
    -9878.34, 4625.94), cameraUpVector=(-0.358432, 0.459224, 0.812798), 
    viewOffsetX=1098.43, viewOffsetY=639.921)
p1 = mdb.models['Lagerbock'].parts['Rohr 6 S']
session.viewports['Viewport: 1'].setValues(displayedObject=p1)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5584.07, 
    farPlane=7836.7, width=1778.53, height=1048.17, viewOffsetX=-226.715, 
    viewOffsetY=-154.784)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.DatumAxisByPrincipalAxis(principalAxis=ZAXIS)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5497.61, 
    farPlane=7928.94, width=789.754, height=465.44, viewOffsetX=-631.45, 
    viewOffsetY=-369.808)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.DatumAxisByPrincipalAxis(principalAxis=YAXIS)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.DatumAxisByPrincipalAxis(principalAxis=ZAXIS)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.DatumAxisByPrincipalAxis(principalAxis=XAXIS)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5488.33, 
    farPlane=7932.44, width=589.136, height=347.206, viewOffsetX=973.331, 
    viewOffsetY=542.182)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5061.01, 
    farPlane=8069.27, width=543.266, height=320.173, cameraPosition=(4458.8, 
    761.647, -3335.96), cameraUpVector=(-0.857251, 0.45698, -0.237257), 
    viewOffsetX=897.547, viewOffsetY=499.968)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4963.65, 
    farPlane=8166.62, width=2063.92, height=1216.37, viewOffsetX=1125.01, 
    viewOffsetY=617.261)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4720.89, 
    farPlane=8395.21, width=1962.98, height=1156.88, cameraPosition=(152.251, 
    3021.56, -4318.87), cameraUpVector=(-0.843707, -0.528982, 0.0913021), 
    viewOffsetX=1069.99, viewOffsetY=587.072)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4831.6, 
    farPlane=8284.5, width=622.567, height=366.909, viewOffsetX=656.558, 
    viewOffsetY=425.057)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4722.47, 
    farPlane=8404.68, width=608.506, height=358.622, cameraPosition=(-1.19643, 
    1783.76, -4800.08), cameraUpVector=(-0.851756, -0.475111, 0.220863), 
    viewOffsetX=641.73, viewOffsetY=415.456)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4691.38, 
    farPlane=8435.76, width=956.346, height=563.621, viewOffsetX=381.45, 
    viewOffsetY=189.73)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4662.08, 
    farPlane=8496.87, width=950.373, height=560.101, cameraPosition=(-625.92, 
    491.737, -4992.13), cameraUpVector=(-0.828648, -0.401679, 0.389867), 
    viewOffsetX=379.068, viewOffsetY=188.545)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4671.98, 
    farPlane=8486.98, width=781.817, height=460.762, viewOffsetX=58.8173, 
    viewOffsetY=-35.774)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4674.61, 
    farPlane=8479.45, width=782.258, height=461.022, cameraPosition=(15.6286, 
    118.091, -5044.25), cameraUpVector=(-0.875806, -0.351078, 0.331222), 
    viewOffsetX=58.8505, viewOffsetY=-35.7942)
session.viewports['Viewport: 1'].view.setValues(nearPlane=4690.7, 
    farPlane=8463.36, width=543.729, height=320.446, viewOffsetX=77.5097, 
    viewOffsetY=-23.2668)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
v1 = p.vertices
p.DatumPointByMidPoint(point1=v1[3], point2=v1[11])
session.viewports['Viewport: 1'].view.setValues(nearPlane=4694.08, 
    farPlane=8461.51, width=544.121, height=320.677, cameraPosition=(-9.19529, 
    67.173, -5044.88), cameraUpVector=(-0.875434, -0.346331, 0.33715), 
    viewOffsetX=77.5656, viewOffsetY=-23.2836)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
e = p.edges
p.DatumAxisByTwoPoint(point1=p.InterestingPoint(edge=e[39], rule=MIDDLE), 
    point2=p.InterestingPoint(edge=e[26], rule=MIDDLE))
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum axis-1']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum axis-2']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum axis-3']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum axis-4']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum pt-1']
session.viewports['Viewport: 1'].view.setValues(nearPlane=4996.12, 
    farPlane=8143.41, width=579.133, height=341.311, cameraPosition=(-78.7686, 
    981.532, -4970.08), cameraUpVector=(-0.862092, -0.414197, 0.291954), 
    viewOffsetX=82.5566, viewOffsetY=-24.7818)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
e1 = p.edges
p.DatumAxisByTwoPoint(point1=p.InterestingPoint(edge=e1[45], rule=MIDDLE), 
    point2=p.InterestingPoint(edge=e1[33], rule=MIDDLE))
session.viewports['Viewport: 1'].view.setValues(nearPlane=4997.92, 
    farPlane=8162.8, width=579.341, height=341.434, cameraPosition=(220.051, 
    -328.46, -5036.18), cameraUpVector=(-0.83307, -0.441254, 0.333601), 
    viewOffsetX=82.5863, viewOffsetY=-24.7907)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5055.42, 
    farPlane=8125.37, width=586.007, height=345.362, cameraPosition=(1599.19, 
    -1642.55, -4658.53), cameraUpVector=(-0.893982, -0.382468, 0.233484), 
    viewOffsetX=83.5364, viewOffsetY=-25.0759)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5045.43, 
    farPlane=8135.35, width=663.854, height=391.241, viewOffsetX=-498.786, 
    viewOffsetY=44.6863)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5573.7, 
    farPlane=7730.63, width=733.361, height=432.205, cameraPosition=(3148.43, 
    -4382.19, -2380.2), cameraUpVector=(-0.939792, -0.302096, 0.15978), 
    viewOffsetX=-551.011, viewOffsetY=49.3651)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5590.33, 
    farPlane=7714.01, width=426.728, height=251.491, viewOffsetX=-1311.84, 
    viewOffsetY=-13.7061)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5556.82, 
    farPlane=7733.2, width=424.171, height=249.984, cameraPosition=(3351.93, 
    -4110.55, -2501.69), cameraUpVector=(-0.925454, -0.349128, 0.14712), 
    viewOffsetX=-1303.97, viewOffsetY=-13.6239)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5622.54, 
    farPlane=7658.72, width=429.188, height=252.941, cameraPosition=(4147.86, 
    -3713.55, -2151.99), cameraUpVector=(-0.843199, -0.508614, 0.174148), 
    viewOffsetX=-1319.39, viewOffsetY=-13.785)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5616.43, 
    farPlane=7664.83, width=471.773, height=278.038, viewOffsetX=-1307.42, 
    viewOffsetY=-52.2267)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
e = p.edges
p.DatumPointByOffset(point=p.InterestingPoint(edge=e[21], rule=MIDDLE), 
    vector=(0.0, 0.0, 18.343841))
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
d1 = p.datums
p.DatumPlaneByLinePoint(line=d1[8], point=d1[9])
session.viewports['Viewport: 1'].view.setValues(nearPlane=5092.82, 
    farPlane=7698.06, width=662.726, height=390.576, viewOffsetX=-1134.92, 
    viewOffsetY=-11.9843)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
e1 = p.edges
p.DatumPointByOffset(point=p.InterestingPoint(edge=e1[33], rule=MIDDLE), 
    vector=(0.0, 0.0, 18.343841))
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
e = p.edges
p.DatumPointByOffset(point=p.InterestingPoint(edge=e[45], rule=MIDDLE), 
    vector=(0.0, 0.0, 18.343841))
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum plane-1']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum pt-1']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum axis-1']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum axis-5']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
e1 = p.edges
p.DatumPointByOffset(point=p.InterestingPoint(edge=e1[21], rule=MIDDLE), 
    vector=(0.0, 0.0, 36.687682))
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
d2 = p.datums
p.DatumPlaneByThreePoints(point1=d2[12], point2=d2[11], point3=d2[13])
session.viewports['Viewport: 1'].view.setValues(nearPlane=5166.08, 
    farPlane=7662.52, width=672.259, height=396.195, cameraPosition=(4439.18, 
    -3497.57, -2029.5), cameraUpVector=(-0.836596, -0.535256, 0.116658), 
    viewOffsetX=-1151.24, viewOffsetY=-12.1567)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
c = p.cells
pickedCells = c.getSequenceFromMask(mask=('[#1 ]', ), )
d1 = p.datums
p.PartitionCellByDatumPlane(datumPlane=d1[14], cells=pickedCells)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.features['Solid extrude-1'].suppress()
session.viewports['Viewport: 1'].view.setValues(nearPlane=5739.09, 
    farPlane=5930.95, width=1132.94, height=667.694, viewOffsetX=-1138.98, 
    viewOffsetY=7.874)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.resumeLastSetFeatures()
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
c = p.cells
pickedCells = c.getSequenceFromMask(mask=('[#2 ]', ), )
v2, e, d2 = p.vertices, p.edges, p.datums
p.PartitionCellByPlaneThreePoints(point1=d2[12], point2=d2[11], point3=d2[13], 
    cells=pickedCells)
#* Feature creation failed.
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[4:5], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[32:33], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[23:24], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[3:4], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[22:23], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[1:2], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[21:22], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[11:12], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[9:10], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[3:4], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[10:11], deleteCells=True)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5202.41, 
    farPlane=7626.19, width=193.205, height=113.865, viewOffsetX=-1193.8, 
    viewOffsetY=-49.7955)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[17:18], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[12:13], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[4:5], deleteCells=True)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5200.79, 
    farPlane=7627.81, width=212.418, height=125.188, viewOffsetX=-1238.89, 
    viewOffsetY=46.5767)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[5:6], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[8:9], deleteCells=True)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5184.45, 
    farPlane=7644.15, width=460.231, height=271.236, viewOffsetX=-1150.56, 
    viewOffsetY=70.2929)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
a1.Instance(name='Rohr 6 S-1', part=p, dependent=OFF)
p1 = a1.instances['Rohr 6 S-1']
p1.translate(vector=(1292.00000006168, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=7841.79, 
    farPlane=11989.1, width=683.953, height=403.086, viewOffsetX=816.992, 
    viewOffsetY=-826.105)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7772.4, 
    farPlane=12339.9, width=677.9, height=399.519, cameraPosition=(5311.02, 
    -8254.29, -3510.36), cameraUpVector=(-0.183804, -0.284734, 0.94082), 
    viewOffsetX=809.762, viewOffsetY=-818.794)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7680.06, 
    farPlane=12432.3, width=2101.65, height=1238.6, viewOffsetX=907.428, 
    viewOffsetY=-921.387)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8089.13, 
    farPlane=11800.2, width=2213.59, height=1304.57, cameraPosition=(8570.68, 
    -6839.34, 1843.05), cameraUpVector=(-0.161439, 0.427806, 0.889337), 
    viewOffsetX=955.76, viewOffsetY=-970.463)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Rohr 6 S-1'].faces
f2 = a1.instances['Rohr-5-H-1'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[6], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8371.84, 
    farPlane=11941.9, width=3875.98, height=2284.3, viewOffsetX=480.15, 
    viewOffsetY=74.9536)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8005.45, 
    farPlane=11405.1, width=3706.35, height=2184.33, cameraPosition=(9281.24, 
    3811.84, 1638.08), cameraUpVector=(-0.540696, 0.231275, 0.808801), 
    viewOffsetX=459.137, viewOffsetY=71.6733)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8119.97, 
    farPlane=11290.6, width=2291.6, height=1350.55, viewOffsetX=498.454, 
    viewOffsetY=109.68)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Rohr 6 S-1'].faces
f2 = a1.instances['Rohr-1-V-1-1'].faces
a1.FaceToFace(movablePlane=f1[9], fixedPlane=f2[8], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7501.84, 
    farPlane=11464, width=4601.54, height=2711.91, viewOffsetX=426.887, 
    viewOffsetY=200.212)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7560.21, 
    farPlane=12404.6, width=4637.34, height=2733.01, cameraPosition=(4801.09, 
    -8550.43, 6100.67), cameraUpVector=(-0.174798, 0.746485, 0.642033), 
    viewOffsetX=430.209, viewOffsetY=201.769)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8077.74, 
    farPlane=12201.3, width=4954.79, height=2920.1, cameraPosition=(4182.17, 
    -9931.52, 3551.82), cameraUpVector=(-0.0241427, 0.566989, 0.823371), 
    viewOffsetX=459.659, viewOffsetY=215.581)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8149.92, 
    farPlane=12129.2, width=3507.51, height=2067.15, viewOffsetX=136.312, 
    viewOffsetY=1154.71)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7790.38, 
    farPlane=12250.8, width=3352.77, height=1975.95, cameraPosition=(2701.3, 
    -8847.29, 6927.37), cameraUpVector=(-0.0938352, 0.80934, 0.579797), 
    viewOffsetX=130.298, viewOffsetY=1103.77)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8022.61, 
    farPlane=12018.6, width=539.507, height=317.957, viewOffsetX=-389.296, 
    viewOffsetY=1522.67)
a = mdb.models['Lagerbock'].rootAssembly
e11 = a.instances['Rohr-1-V-1'].edges
e12 = a.instances['Rohr-1-V-1-1'].edges
a.DatumPlaneByThreePoints(point1=a.instances['Rohr-1-V-1'].InterestingPoint(
    edge=e11[37], rule=MIDDLE), 
    point2=a.instances['Rohr-1-V-1-1'].InterestingPoint(edge=e12[39], 
    rule=MIDDLE), point3=a.instances['Rohr-1-V-1-1'].InterestingPoint(
    edge=e12[2], rule=MIDDLE))
#: Warning: Cannot continue yet--complete the step or cancel the procedure.
session.viewports['Viewport: 1'].view.setValues(nearPlane=7751.18, 
    farPlane=12290, width=4257.24, height=2509, viewOffsetX=1688.02, 
    viewOffsetY=744.82)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr 6 S-1'].faces
pickedFaces = f1.getSequenceFromMask(mask=('[#200 ]', ), )
d11 = a.datums
a.PartitionFaceByDatumPlane(datumPlane=d11[182], faces=pickedFaces)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7423.54, 
    farPlane=12429.1, width=4200.09, height=2475.31, viewOffsetX=1883.19, 
    viewOffsetY=1070.48)
p1 = mdb.models['Lagerbock'].parts['Rohr 6 S']
session.viewports['Viewport: 1'].setValues(displayedObject=p1)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5129.91, 
    farPlane=7698.7, width=1057.42, height=623.191, viewOffsetX=351.045, 
    viewOffsetY=-41.1332)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5719.62, 
    farPlane=8095.48, width=1178.98, height=694.831, cameraPosition=(4874.58, 
    3239.35, 5009.29), cameraUpVector=(0.189306, -0.981827, 0.0133468), 
    viewOffsetX=391.4, viewOffsetY=-45.8618)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5615.75, 
    farPlane=8199.36, width=2687.47, height=1583.86, viewOffsetX=222.572, 
    viewOffsetY=3.57279)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5860.72, 
    farPlane=7802.78, width=2804.71, height=1652.95, cameraPosition=(5939.86, 
    2486.61, 3691.49), cameraUpVector=(0.0796089, -0.990418, -0.112845), 
    viewOffsetX=232.281, viewOffsetY=3.72864)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7622.56, 
    farPlane=12230.1, width=1821.01, height=1073.21, viewOffsetX=992.832, 
    viewOffsetY=1361.82)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5787.95, 
    farPlane=7875.53, width=4064.56, height=2395.44, viewOffsetX=511.624, 
    viewOffsetY=-1.51784)
session.viewports['Viewport: 1'].partDisplay.setValues(sectionAssignments=ON, 
    engineeringFeatures=ON)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
a = mdb.models['Lagerbock'].rootAssembly
f1 = a.instances['Rohr 6 S-1'].faces
pickedFaces = f1.getSequenceFromMask(mask=('[#1000 ]', ), )
d31 = a.datums
a.PartitionFaceByDatumPlane(datumPlane=d31[182], faces=pickedFaces)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7669.25, 
    farPlane=12183.4, width=1263.95, height=744.908, viewOffsetX=871.929, 
    viewOffsetY=1396.52)
a = mdb.models['Lagerbock'].rootAssembly
v11 = a.instances['Rohr 6 S-1'].vertices
a.DatumPlaneByThreePoints(point1=v11[0], point2=v11[1], point3=v11[5])
session.viewports['Viewport: 1'].view.setValues(nearPlane=7662.39, 
    farPlane=12190.3, width=1520.4, height=896.046, viewOffsetX=980.531, 
    viewOffsetY=1405.52)
a = mdb.models['Lagerbock'].rootAssembly
a.deleteFeatures(('Datum plane-1', 'Partition face-2', 'Partition face-1', 
    'Datum plane-2', ))
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Datum csys-1']
session.viewports['Viewport: 1'].view.setValues(nearPlane=7457.31, 
    farPlane=12395.4, width=3795.8, height=2237.05, viewOffsetX=1497.31, 
    viewOffsetY=1492.22)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7547.49, 
    farPlane=12479.6, width=3841.7, height=2264.1, cameraPosition=(-2476.46, 
    -6939.87, 8579.86), cameraUpVector=(-0.0249611, 0.949197, 0.31369), 
    viewOffsetX=1515.41, viewOffsetY=1510.26)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7602.8, 
    farPlane=12424.3, width=2924.13, height=1723.33, viewOffsetX=1200.18, 
    viewOffsetY=1528.23)
a = mdb.models['Lagerbock'].rootAssembly
e21 = a.instances['Rohr-1-V-1'].edges
e22 = a.instances['Rohr-1-V-1-1'].edges
a.DatumPlaneByThreePoints(point1=a.instances['Rohr-1-V-1'].InterestingPoint(
    edge=e21[37], rule=MIDDLE), 
    point2=a.instances['Rohr-1-V-1-1'].InterestingPoint(edge=e22[9], 
    rule=MIDDLE), point3=a.instances['Rohr-1-V-1-1'].InterestingPoint(
    edge=e22[33], rule=MIDDLE))
session.viewports['Viewport: 1'].view.setValues(nearPlane=7490.73, 
    farPlane=12536.4, width=4264.77, height=2513.44, viewOffsetX=1693.32, 
    viewOffsetY=1291.18)
a = mdb.models['Lagerbock'].rootAssembly
d11 = a.datums
e11 = a.instances['U-Profil-11'].edges
t = a.MakeSketchTransform(sketchPlane=d11[186], sketchUpEdge=e11[5], 
    sketchPlaneSide=SIDE1, origin=(846.525866, -540.0, 2965.0))
s1 = mdb.models['Lagerbock'].ConstrainedSketch(name='__profile__', 
    sheetSize=12974.75, gridSpacing=324.36, transform=t)
g, v, d, c = s1.geometry, s1.vertices, s1.dimensions, s1.constraints
s1.setPrimaryObject(option=SUPERIMPOSE)
a = mdb.models['Lagerbock'].rootAssembly
a.projectReferencesOntoSketch(sketch=s1, filter=COPLANAR_EDGES)
#: Warning: Cannot continue yet--complete the step or cancel the procedure.
#: Warning: Cannot continue yet--complete the step or cancel the procedure.
#: Warning: Cannot continue yet--complete the step or cancel the procedure.
session.viewports['Viewport: 1'].view.setValues(nearPlane=10577.3, 
    farPlane=14413.2, width=3511.2, height=2069.32, cameraPosition=(380.157, 
    -238.751, 14103.3), cameraTarget=(380.157, -238.751, 1128.55))
s1.unsetPrimaryObject()
del mdb.models['Lagerbock'].sketches['__profile__']
session.viewports['Viewport: 1'].view.setValues(nearPlane=7490.73, 
    farPlane=12536.4, width=4264.77, height=2513.44, viewOffsetX=1693.32, 
    viewOffsetY=1292.57)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7184.82, 
    farPlane=12316.5, width=4090.61, height=2410.79, cameraPosition=(4391.28, 
    -5355.46, 9330.71), cameraUpVector=(-0.840271, 0.482058, 0.248121), 
    viewOffsetX=1624.17, viewOffsetY=1239.79)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7198.29, 
    farPlane=12303, width=3870.14, height=2280.86, viewOffsetX=1639.18, 
    viewOffsetY=106.45)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8589.43, 
    farPlane=11920.2, width=4618.09, height=2721.66, cameraPosition=(365.864, 
    -10566.1, 3761.42), cameraUpVector=(-0.360922, 0.547659, 0.754854), 
    viewOffsetX=1955.97, viewOffsetY=127.023)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8485.94, 
    farPlane=12023.6, width=4893.47, height=2883.95, viewOffsetX=1459.52, 
    viewOffsetY=198.61)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7571.82, 
    farPlane=12308.8, width=4366.33, height=2573.29, cameraPosition=(1804.24, 
    -7653.51, 8509.89), cameraUpVector=(-0.882556, 0.456622, 0.112212), 
    viewOffsetX=1302.29, viewOffsetY=177.215)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7909.2, 
    farPlane=12061.3, width=1943.72, height=1145.53, viewOffsetX=652.816, 
    viewOffsetY=-523.799)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7704.19, 
    farPlane=11731.2, width=1893.34, height=1115.84, cameraPosition=(6626.49, 
    -521.193, 9149.42), cameraUpVector=(-0.927827, -0.217406, 0.303102), 
    viewOffsetX=635.895, viewOffsetY=-510.223)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7999.29, 
    farPlane=11183.7, width=1965.86, height=1158.58, cameraPosition=(5957.42, 
    7308.14, 2355.55), cameraUpVector=(-0.308946, -0.315186, 0.897335), 
    viewOffsetX=660.252, viewOffsetY=-529.766)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8064.55, 
    farPlane=11118.5, width=1003.43, height=591.373, viewOffsetX=237.245, 
    viewOffsetY=-766.681)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7509.05, 
    farPlane=11701.5, width=934.317, height=550.638, cameraPosition=(5459, 
    1414.46, 9596.82), cameraUpVector=(-0.439894, 0.816232, -0.374512), 
    viewOffsetX=220.903, viewOffsetY=-713.871)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7128.01, 
    farPlane=11720, width=1144.44, height=674.471, viewOffsetX=1342.03, 
    viewOffsetY=280.036)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.translate(instanceList=('Rohr 6 S-1', ), vector=(-740.051732, 10.0, 0.0))
#: The instance Rohr 6 S-1 was translated by -740.051732, 0., 0. with respect to the assembly coordinate system
session.viewports['Viewport: 1'].view.setValues(nearPlane=7545.21, 
    farPlane=11665.4, width=513.576, height=302.675, viewOffsetX=994.238, 
    viewOffsetY=521.019)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8553.84, 
    farPlane=11213.1, width=582.23, height=343.136, cameraPosition=(10098.4, 
    1581.38, 2556.73), cameraUpVector=(-0.57355, 0.817893, 0.0457341), 
    viewOffsetX=1127.15, viewOffsetY=590.667)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8131.5, 
    farPlane=12060.1, width=553.483, height=326.194, cameraPosition=(6835.94, 
    -6970.87, 6124), cameraUpVector=(0.277368, 0.950638, 0.13912), 
    viewOffsetX=1071.5, viewOffsetY=561.503)
a = mdb.models['Lagerbock'].rootAssembly
e21 = a.instances['Rohr-5-H-1'].edges
a.DatumPointByOffset(point=a.instances['Rohr-5-H-1'].InterestingPoint(
    edge=e21[19], rule=MIDDLE), vector=(-420.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=7811.57, 
    farPlane=12044.2, width=531.707, height=313.36, cameraPosition=(5203.05, 
    -5541.48, 8784.92), cameraUpVector=(0.392362, 0.911172, -0.125772), 
    viewOffsetX=1029.34, viewOffsetY=539.411)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7793.5, 
    farPlane=12062.2, width=735.945, height=433.728, viewOffsetX=504.63, 
    viewOffsetY=568.496)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7848.54, 
    farPlane=11690.6, width=741.143, height=436.791, cameraPosition=(671.33, 
    -4505.48, 10550.1), cameraUpVector=(0.544623, 0.837678, -0.0409896), 
    viewOffsetX=508.194, viewOffsetY=572.511)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7047.46, 
    farPlane=12491.7, width=11508.6, height=6782.59, viewOffsetX=2276.73, 
    viewOffsetY=1539.55)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6767, 
    farPlane=12624.7, width=11050.6, height=6512.67, cameraPosition=(-3826.73, 
    -3524.65, 9783.32), cameraUpVector=(0.500586, 0.855945, 0.129507), 
    viewOffsetX=2186.13, viewOffsetY=1478.28)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7319.66, 
    farPlane=12072, width=4174.99, height=2460.52, viewOffsetX=207.412, 
    viewOffsetY=1207.58)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7727.57, 
    farPlane=12246.9, width=4407.66, height=2597.64, cameraPosition=(-1168.66, 
    -8122.06, 7920.39), cameraUpVector=(0.40517, 0.789343, 0.461275), 
    viewOffsetX=218.971, viewOffsetY=1274.88)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7566.67, 
    farPlane=12231.7, width=4315.89, height=2543.56, cameraPosition=(-990.857, 
    -6893.28, 9076.43), cameraUpVector=(0.333457, 0.887212, 0.318842), 
    viewOffsetX=214.412, viewOffsetY=1248.34)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7811.06, 
    farPlane=11987.3, width=1224.92, height=721.903, viewOffsetX=349.844, 
    viewOffsetY=306.908)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7869.16, 
    farPlane=11865.7, width=1234.03, height=727.273, cameraPosition=(374.847, 
    -6221.38, 9693.54), cameraUpVector=(0.247998, 0.946764, 0.205269), 
    viewOffsetX=352.446, viewOffsetY=309.191)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7946.26, 
    farPlane=11788.6, width=234.43, height=138.161, viewOffsetX=431.176, 
    viewOffsetY=282.144)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7919.23, 
    farPlane=11986.9, width=233.632, height=137.691, cameraPosition=(2832.87, 
    -6906.6, 8907.09), cameraUpVector=(0.117602, 0.95408, 0.275503), 
    viewOffsetX=429.708, viewOffsetY=281.184)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7921.32, 
    farPlane=11984.8, width=195.474, height=115.202, viewOffsetX=634.407, 
    viewOffsetY=211.471)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8054.33, 
    farPlane=12072.5, width=198.756, height=117.137, cameraPosition=(5640.36, 
    -7264.81, 7054.35), cameraUpVector=(-0.0235216, 0.90156, 0.432014), 
    viewOffsetX=645.059, viewOffsetY=215.022)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8031.28, 
    farPlane=12095.6, width=458.194, height=270.036, viewOffsetX=695.112, 
    viewOffsetY=100.618)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8222.51, 
    farPlane=11522.2, width=469.104, height=276.466, cameraPosition=(9107.53, 
    -1309.05, 6369.96), cameraUpVector=(-0.720063, 0.380086, 0.580555), 
    viewOffsetX=711.663, viewOffsetY=103.014)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8190.59, 
    farPlane=11554.1, width=811.121, height=478.033, viewOffsetX=1086.79, 
    viewOffsetY=-384.465)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8305.88, 
    farPlane=11436.5, width=822.538, height=484.761, cameraPosition=(9741.28, 
    -92.0955, 5028.82), cameraUpVector=(-0.670996, 0.25379, 0.696674), 
    viewOffsetX=1102.08, viewOffsetY=-389.877)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8291.09, 
    farPlane=11451.3, width=1061.37, height=625.515, viewOffsetX=195.624, 
    viewOffsetY=1596.23)
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Datum pt-1']
session.viewports['Viewport: 1'].view.setValues(nearPlane=8187.91, 
    farPlane=11554.5, width=2170.21, height=1279.01, viewOffsetX=502.222, 
    viewOffsetY=1645.6)
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Face to Face-68']
session.viewports['Viewport: 1'].view.setValues(nearPlane=8098.27, 
    farPlane=11644.1, width=3241.03, height=1910.1, viewOffsetX=836.629, 
    viewOffsetY=1784.86)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7473.97, 
    farPlane=11729.9, width=2991.18, height=1762.85, cameraPosition=(7239.49, 
    4950.6, 5671.85), cameraUpVector=(-0.753404, -0.181497, 0.632013), 
    viewOffsetX=772.133, viewOffsetY=1647.27)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7066.31, 
    farPlane=12137.6, width=8904.67, height=5247.95, viewOffsetX=1376.8, 
    viewOffsetY=2624.7)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Rohr 6 S-1'].faces
f2 = a1.instances['Rohr-1-V-1-1'].faces
a1.FaceToFace(movablePlane=f1[9], fixedPlane=f2[6], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=7961.26, 
    farPlane=11891.3, width=10032.5, height=5912.61, cameraPosition=(10272.4, 
    206.875, 3129.16), cameraUpVector=(-0.527364, 0.261483, 0.808402), 
    viewOffsetX=1551.17, viewOffsetY=2957.12)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8551.49, 
    farPlane=11301.1, width=1298.59, height=765.32, viewOffsetX=929.72, 
    viewOffsetY=-413.736)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8139.99, 
    farPlane=11814.6, width=1236.1, height=728.493, cameraPosition=(9019.97, 
    -3427.22, 5911.09), cameraUpVector=(-0.480349, 0.697887, 0.531243), 
    viewOffsetX=884.982, viewOffsetY=-393.827)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8161.05, 
    farPlane=11793.6, width=971.539, height=572.575, viewOffsetX=905.21, 
    viewOffsetY=-256.915)
a = mdb.models['Lagerbock'].rootAssembly
e11 = a.instances['Rohr 6 S-1'].edges
a.DatumPointByOffset(point=a.instances['Rohr 6 S-1'].InterestingPoint(
    edge=e11[6], rule=MIDDLE), vector=(-420.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=8181.14, 
    farPlane=11773.5, width=732.053, height=431.434, viewOffsetX=1083.41, 
    viewOffsetY=-125.835)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.translate(instanceList=('Rohr 6 S-1', ), vector=(-420.0, 0.0, 0.0))
#: The instance Rohr 6 S-1 was translated by -420., 0., 0. with respect to the assembly coordinate system
session.viewports['Viewport: 1'].view.setValues(nearPlane=8143.11, 
    farPlane=11503.3, width=728.649, height=429.428, cameraPosition=(9407.27, 
    494.96, 5602.65), cameraUpVector=(-0.678843, 0.606381, 0.414095), 
    viewOffsetX=1078.37, viewOffsetY=-125.249)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8074.73, 
    farPlane=11571.6, width=1503.85, height=886.291, viewOffsetX=-712.4, 
    viewOffsetY=1378.27)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8164.76, 
    farPlane=12125.3, width=1520.62, height=896.172, cameraPosition=(4154.49, 
    -8875.18, 6098.76), cameraUpVector=(-0.307926, 0.682686, 0.662662), 
    viewOffsetX=-720.343, viewOffsetY=1393.63)
session.viewports['Viewport: 1'].view.setValues(nearPlane=8639.95, 
    farPlane=11779.7, width=1609.12, height=948.332, cameraPosition=(643.167, 
    -10300.5, 4634.46), cameraUpVector=(-0.0771555, 0.630654, 0.772219), 
    viewOffsetX=-762.267, viewOffsetY=1474.74)
mdb.save()
#: The model database has been saved to "D:\Studium\BSK\Abaqus\Lagerbock.cae".
session.viewports['Viewport: 1'].partDisplay.setValues(sectionAssignments=OFF, 
    engineeringFeatures=OFF)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
s = mdb.models['Lagerbock'].ConstrainedSketch(name='__profile__', 
    sheetSize=4000.0)
g, v, d, c = s.geometry, s.vertices, s.dimensions, s.constraints
s.setPrimaryObject(option=STANDALONE)
session.viewports['Viewport: 1'].view.setValues(nearPlane=3223.14, 
    farPlane=4319.33, width=7384.48, height=4352.03, cameraPosition=(1057.12, 
    192.047, 3771.24), cameraTarget=(1057.12, 192.047, 0))
s.rectangle(point1=(-1601.23315429688, 1246.34899902344), point2=(1400.0, 
    -1100.0))
p = mdb.models['Lagerbock'].Part(name='Part-11', dimensionality=TWO_D_PLANAR, 
    type=DEFORMABLE_BODY)
p = mdb.models['Lagerbock'].parts['Part-11']
p.BaseShell(sketch=s)
s.unsetPrimaryObject()
p = mdb.models['Lagerbock'].parts['Part-11']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
del mdb.models['Lagerbock'].sketches['__profile__']
session.viewports['Viewport: 1'].view.setValues(nearPlane=7040.54, 
    farPlane=8197.7, width=7723.67, height=4551.93, viewOffsetX=1300.58, 
    viewOffsetY=336.933)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
p1 = mdb.models['Lagerbock'].parts['Part-11']
session.viewports['Viewport: 1'].setValues(displayedObject=p1)
del mdb.models['Lagerbock'].parts['Part-11']
p = mdb.models['Lagerbock'].parts['Platte M']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
#: Warning: Cannot continue yet--complete the step or cancel the procedure.
session.viewports['Viewport: 1'].view.setValues(nearPlane=13257.1, 
    farPlane=16513.6, width=2126.42, height=1253.2, viewOffsetX=-1881.15, 
    viewOffsetY=1181.6)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
a1.Instance(name='Rohr 6 S-2', part=p, dependent=OFF)
p1 = a1.instances['Rohr 6 S-2']
p1.translate(vector=(2369.6998786774, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=9235.42, 
    farPlane=13247.1, width=1739.12, height=1024.94, viewOffsetX=-329.678, 
    viewOffsetY=-191.259)
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Datum pt-1']
session.viewports['Viewport: 1'].view.setValues(nearPlane=9289.73, 
    farPlane=13192.8, width=1091.5, height=643.276, viewOffsetX=-122.017, 
    viewOffsetY=-375.013)
a1 = mdb.models['Lagerbock'].rootAssembly
e21 = a1.instances['Rohr 6 S-1'].edges
e22 = a1.instances['Rohr-5-H-1'].edges
a1.CoincidentPoint(movablePoint=a1.instances['Rohr 6 S-1'].InterestingPoint(
    edge=e21[6], rule=MIDDLE), 
    fixedPoint=a1.instances['Rohr-5-H-1'].InterestingPoint(edge=e22[19], 
    rule=MIDDLE))
#* FeatureError: The constraint cannot be applied because it conflicts 
#* with existing position constraints.
a = mdb.models['Lagerbock'].rootAssembly
e21 = a.instances['Rohr-5-H-1'].edges
a.DatumPointByOffset(point=a.instances['Rohr-5-H-1'].InterestingPoint(
    edge=e21[19], rule=MIDDLE), vector=(-420.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=9316.87, 
    farPlane=13165.7, width=927.422, height=546.575, viewOffsetX=-105.009, 
    viewOffsetY=-406.225)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.translate(instanceList=('Rohr 6 S-1', ), vector=(420.0, 0.0, 0.0))
#: The instance Rohr 6 S-1 was translated by 420., 0., 0. with respect to the assembly coordinate system
a1 = mdb.models['Lagerbock'].rootAssembly
a1.translate(instanceList=('Rohr 6 S-1', ), vector=(-420.0, 0.0, 0.0))
#: The instance Rohr 6 S-1 was translated by -420., 0., 0. with respect to the assembly coordinate system
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Datum pt-1']
a1 = mdb.models['Lagerbock'].rootAssembly
e11 = a1.instances['Rohr 6 S-1'].edges
e12 = a1.instances['Rohr-5-H-1'].edges
a1.EdgeToEdge(movableAxis=e11[6], fixedAxis=e12[19], flip=ON)
#: The instance "Rohr 6 S-1" is fully constrained
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Edge to Edge-1']
session.viewports['Viewport: 1'].view.setValues(nearPlane=9088.43, 
    farPlane=13394.1, width=3494.19, height=2059.3, viewOffsetX=668.423, 
    viewOffsetY=115.238)
p = mdb.models['Lagerbock'].parts['Platte M']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
p1 = mdb.models['Lagerbock'].parts['Rohr-5-H']
session.viewports['Viewport: 1'].setValues(displayedObject=p1)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9311.59, 
    farPlane=13170.9, width=830.976, height=489.734, viewOffsetX=-663.297, 
    viewOffsetY=1538.44)
p = mdb.models['Lagerbock'].parts['Rohr-5-H']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
s1 = mdb.models['Lagerbock'].ConstrainedSketch(name='__profile__', 
    sheetSize=4000.0)
g, v, d, c = s1.geometry, s1.vertices, s1.dimensions, s1.constraints
s1.setPrimaryObject(option=STANDALONE)
session.viewports['Viewport: 1'].view.setValues(nearPlane=3205.87, 
    farPlane=4336.6, width=7617.12, height=4489.14, cameraPosition=(1397.64, 
    -24.8814, 3771.24), cameraTarget=(1397.64, -24.8814, 0))
s1.rectangle(point1=(-1300.0, 600.0), point2=(800.0, -900.0))
p = mdb.models['Lagerbock'].Part(name='Part-11', dimensionality=THREE_D, 
    type=DEFORMABLE_BODY)
p = mdb.models['Lagerbock'].parts['Part-11']
p.BaseSolidExtrude(sketch=s1, depth=20.0)
s1.unsetPrimaryObject()
p = mdb.models['Lagerbock'].parts['Part-11']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
del mdb.models['Lagerbock'].sketches['__profile__']
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Part-11']
a1.Instance(name='Part-11-1', part=p, dependent=OFF)
p1 = a1.instances['Part-11-1']
p1.translate(vector=(5232.88475122699, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Part-11-1'].faces
f2 = a1.instances['U-Profil-11'].faces
a1.FaceToFace(movablePlane=f1[4], fixedPlane=f2[1], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14753, 
    farPlane=19622.5, width=5058.07, height=2980.96, viewOffsetX=-513.572, 
    viewOffsetY=568.492)
session.viewports['Viewport: 1'].view.setValues(nearPlane=12769.4, 
    farPlane=21415.2, width=4377.99, height=2580.16, cameraPosition=(-7427.2, 
    -9766.13, 11828.9), cameraUpVector=(0.189755, 0.894098, 0.405688), 
    viewOffsetX=-444.519, viewOffsetY=492.055)
session.viewports['Viewport: 1'].view.setValues(nearPlane=12658.6, 
    farPlane=21526, width=6850.84, height=4037.53, viewOffsetX=-467.099, 
    viewOffsetY=352.722)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Part-11-1'].faces
f2 = a1.instances['Platte-L-1'].faces
a1.FaceToFace(movablePlane=f1[2], fixedPlane=f2[14], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13077.8, 
    farPlane=19022, width=2333.29, height=1375.12, viewOffsetX=-1010.98, 
    viewOffsetY=1301.56)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.InstanceFromBooleanCut(name='Part-1', 
    instanceToBeCut=mdb.models['Lagerbock'].rootAssembly.instances['Rohr 6 S-1'], 
    cuttingInstances=(a1.instances['Part-11-1'], ), originalInstances=DELETE)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13183.2, 
    farPlane=18883.4, width=2352.08, height=1386.2, cameraPosition=(-6687.93, 
    -8475.87, 13442.5), cameraUpVector=(0.275332, 0.906519, 0.320023), 
    viewOffsetX=-1019.13, viewOffsetY=1312.04)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13228.7, 
    farPlane=18837.9, width=1656, height=975.958, viewOffsetX=-1395.82, 
    viewOffsetY=1300.04)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14843.2, 
    farPlane=19538.4, width=1858.1, height=1095.07, cameraPosition=(4494.86, 
    -7904.06, 17024.8), cameraUpVector=(-0.0483947, 0.994949, 0.0879457), 
    viewOffsetX=-1566.17, viewOffsetY=1458.7)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14866.7, 
    farPlane=19514.9, width=1444.63, height=851.391, viewOffsetX=-2368.78, 
    viewOffsetY=1336.2)
p1 = mdb.models['Lagerbock'].parts['Part-1']
session.viewports['Viewport: 1'].setValues(displayedObject=p1)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5485.46, 
    farPlane=8018.57, width=844.484, height=497.695, viewOffsetX=-918.55, 
    viewOffsetY=-116.355)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5486.05, 
    farPlane=8073.3, width=844.575, height=497.749, cameraPosition=(-632.999, 
    4206.42, 6912.33), cameraUpVector=(-0.320725, 0.398398, -0.85931), 
    viewOffsetX=-918.649, viewOffsetY=-116.367)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5422.86, 
    farPlane=8136.5, width=1549, height=912.902, viewOffsetX=-331.172, 
    viewOffsetY=-292.391)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14852.3, 
    farPlane=19529.3, width=1449.14, height=854.046, viewOffsetX=-2249.25, 
    viewOffsetY=1279.88)
p1 = mdb.models['Lagerbock'].parts['Part-11']
session.viewports['Viewport: 1'].setValues(displayedObject=p1)
del mdb.models['Lagerbock'].parts['Part-11']
p = mdb.models['Lagerbock'].parts['Part-1']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
del mdb.models['Lagerbock'].parts['Part-1']
p = mdb.models['Lagerbock'].parts['Platte M']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.suppressFeatures(featureNames=('Part-1-1', ))
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14685.6, 
    farPlane=19865.2, width=5476.48, height=3227.56, viewOffsetX=-1369.91, 
    viewOffsetY=1035.36)
p1 = mdb.models['Lagerbock'].parts['Rohr 6 S']
session.viewports['Viewport: 1'].setValues(displayedObject=p1)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5850.16, 
    farPlane=7540.36, width=1016.88, height=599.299, viewOffsetX=-1081.41, 
    viewOffsetY=-151.506)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
e1 = p.edges
p.DatumPointByOffset(point=p.InterestingPoint(edge=e1[4], rule=MIDDLE), 
    vector=(0.0, 0.0, 2788.27))
session.viewports['Viewport: 1'].view.setValues(nearPlane=5685.54, 
    farPlane=7704.98, width=2983.68, height=1758.43, viewOffsetX=0.283936, 
    viewOffsetY=43.5137)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5932.73, 
    farPlane=7445.35, width=3113.4, height=1834.88, cameraPosition=(6194.6, 
    2251.86, 2465.15), cameraUpVector=(0.0597564, -0.998187, -0.00721372), 
    viewOffsetX=0.29628, viewOffsetY=45.4055)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5780.94, 
    farPlane=7638.88, width=3033.75, height=1787.93, cameraPosition=(2571.95, 
    5840.07, 2218.68), cameraUpVector=(0.747293, -0.643252, -0.166674), 
    viewOffsetX=0.288699, viewOffsetY=44.2438)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5577.34, 
    farPlane=7807.92, width=2926.9, height=1724.96, cameraPosition=(5934.89, 
    -800.253, 4792.09), cameraUpVector=(-0.270704, -0.904727, -0.32892), 
    viewOffsetX=0.278531, viewOffsetY=42.6856)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Datum pt-4']
session.viewports['Viewport: 1'].view.setValues(nearPlane=5791.03, 
    farPlane=7594.24, width=307.941, height=181.484, viewOffsetX=-942.906, 
    viewOffsetY=-23.9593)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
d3 = p.datums
p.DatumPointByOffset(point=d3[13], vector=(0.0, 0.0, 2788.27))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6120.67, 
    farPlane=7275.06, width=338.216, height=199.327, cameraPosition=(4110.36, 
    5004.44, 1307.39), cameraUpVector=(0.552851, -0.833271, -0.00392273), 
    viewOffsetX=-1442.04, viewOffsetY=-94.6094)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
v3, d2 = p.vertices, p.datums
p.DatumPointByOffset(point=v3[6], vector=(0.0, 0.0, 2788.27))
session.viewports['Viewport: 1'].view.setValues(nearPlane=6121.02, 
    farPlane=7274.72, width=334.098, height=196.9, viewOffsetX=-1424.63, 
    viewOffsetY=-238.713)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
v2, d3 = p.vertices, p.datums
p.DatumPointByOffset(point=v2[7], vector=(0.0, 0.0, 2788.27))
session.viewports['Viewport: 1'].view.setValues(nearPlane=5998.97, 
    farPlane=7396.76, width=1789.64, height=1054.72, viewOffsetX=1130.02, 
    viewOffsetY=112.871)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5899.27, 
    farPlane=7448.03, width=1759.89, height=1037.19, cameraPosition=(5753.11, 
    -3711.33, 2743.93), cameraUpVector=(-0.765233, -0.641791, -0.050232), 
    viewOffsetX=1111.24, viewOffsetY=110.995)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
d2 = p.datums
p.DatumPlaneByThreePoints(point1=d2[35], point2=d2[34], point3=d2[33])
session.viewports['Viewport: 1'].view.setValues(nearPlane=5946.59, 
    farPlane=7792.92, width=1122.5, height=661.544, viewOffsetX=1149.37, 
    viewOffsetY=-164.983)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
pickedFaces = f.getSequenceFromMask(mask=('[#3fffe ]', ), )
d3 = p.datums
p.PartitionFaceByDatumPlane(datumPlane=d3[36], faces=pickedFaces)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[27:28], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[23:24], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[25:26], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[11:12], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[9:10], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[17:18], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[22:23], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[25:26], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[25:26], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[19:20], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[1:2], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[17:18], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[10:11], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[6:7], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[4:5], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[9:10], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[2:3], deleteCells=True)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5523.81, 
    farPlane=8093.36, width=1042.7, height=614.511, cameraPosition=(4371.3, 
    -563.786, 6702.16), cameraUpVector=(-0.417266, -0.900117, -0.12521), 
    viewOffsetX=1067.65, viewOffsetY=-153.253)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5480.86, 
    farPlane=8136.32, width=1583.26, height=933.094, viewOffsetX=-508.784, 
    viewOffsetY=-340.379)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5867.57, 
    farPlane=7599.68, width=1694.98, height=998.931, cameraPosition=(6267.6, 
    -2016.13, -403.677), cameraUpVector=(-0.431256, -0.783531, 0.447324), 
    viewOffsetX=-544.682, viewOffsetY=-364.396)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5888.56, 
    farPlane=7578.7, width=1241.92, height=731.922, viewOffsetX=-1330.85, 
    viewOffsetY=-673.563)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5939.88, 
    farPlane=7667.74, width=1252.74, height=738.301, cameraPosition=(6052.92, 
    -2997.45, 71.4853), cameraUpVector=(-0.592088, -0.706649, 0.3874), 
    viewOffsetX=-1342.45, viewOffsetY=-679.434)
session.viewports['Viewport: 1'].view.setValues(nearPlane=6010.53, 
    farPlane=7597.09, width=327.609, height=193.076, viewOffsetX=-1285.59, 
    viewOffsetY=-807.395)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5438.87, 
    farPlane=7962.15, width=296.45, height=174.712, cameraPosition=(4898.32, 
    -2234.85, -2696.9), cameraUpVector=(-0.392024, -0.807699, 0.440386), 
    viewOffsetX=-1163.32, viewOffsetY=-730.603)
#: 1 entity was added to _SelectionGroup1.( 1 face )
session.viewports['Viewport: 1'].view.setValues(nearPlane=5430.19, 
    farPlane=7970.84, width=411.559, height=242.552, viewOffsetX=707.788, 
    viewOffsetY=-34.7741)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5626.85, 
    farPlane=7512, width=426.464, height=251.336, cameraPosition=(5846.45, 
    2262.48, 3772.19), cameraUpVector=(-0.380732, -0.607346, 0.697262), 
    viewOffsetX=733.422, viewOffsetY=-36.0335)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5579.97, 
    farPlane=7558.88, width=945.979, height=557.511, viewOffsetX=929.426, 
    viewOffsetY=786.629)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5605.87, 
    farPlane=7930.11, width=950.37, height=560.099, cameraPosition=(4957.28, 
    -120.856, 6151.26), cameraUpVector=(-0.824379, -0.393393, 0.40699), 
    viewOffsetX=933.74, viewOffsetY=790.28)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Partition cell-1']
#* Regeneration Failed
session.viewports['Viewport: 1'].view.setValues(nearPlane=5177.89, 
    farPlane=8434.58, width=6316.34, height=3722.52, viewOffsetX=2056.23, 
    viewOffsetY=461.919)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.deleteFeatures(('Remove faces-1', 'Remove faces-2', 'Remove faces-3', 
    'Remove faces-4', 'Remove faces-5', 'Remove faces-6', 'Remove faces-7', 
    'Remove faces-8', 'Remove faces-9', 'Remove faces-10', 'Remove faces-11', 
    'Remove faces-12', 'Remove faces-13', 'Remove faces-14', 'Remove faces-15', 
    'Remove faces-16', ))
session.viewports['Viewport: 1'].view.setValues(nearPlane=5298.46, 
    farPlane=8237.52, width=5129.39, height=3023, viewOffsetX=2067.63, 
    viewOffsetY=933.716)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Partition face-1']
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
p.deleteFeatures(('Remove faces-17', 'Remove faces-18', 'Remove faces-19', 
    'Remove faces-20', 'Remove faces-21', 'Remove faces-22', 'Remove faces-23', 
    'Remove faces-24', 'Remove faces-25', 'Remove faces-26', 'Remove faces-27', 
    'Remove faces-28', 'Remove faces-29', 'Remove faces-30', 'Remove faces-31', 
    'Remove faces-32', 'Remove faces-33', ))
session.viewports['Viewport: 1'].view.setValues(nearPlane=5447.35, 
    farPlane=7936.38, width=929.252, height=547.653, viewOffsetX=858.988, 
    viewOffsetY=778.94)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[16:17], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
del p.features['Remove faces-1']
session.viewports['Viewport: 1'].view.setValues(width=989.403, height=583.103, 
    viewOffsetX=876.369, viewOffsetY=785.907)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
c = p.cells
pickedCells = c.getSequenceFromMask(mask=('[#1 ]', ), )
d2 = p.datums
p.PartitionCellByDatumPlane(datumPlane=d2[36], cells=pickedCells)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5353.19, 
    farPlane=8030.53, width=2053.37, height=1210.15, viewOffsetX=198.41, 
    viewOffsetY=-570.968)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
c = p.cells
pickedCells = c.getSequenceFromMask(mask=('[#1 ]', ), )
d3 = p.datums
p.PartitionCellByDatumPlane(datumPlane=d3[14], cells=pickedCells)
#* Feature creation failed.
session.viewports['Viewport: 1'].view.setValues(nearPlane=5185.5, 
    farPlane=8198.22, width=4061.39, height=2393.57, viewOffsetX=813.127, 
    viewOffsetY=-66.3246)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
c = p.cells
pickedCells = c.getSequenceFromMask(mask=('[#2 ]', ), )
d2 = p.datums
p.PartitionCellByDatumPlane(datumPlane=d2[14], cells=pickedCells)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5444.28, 
    farPlane=7939.44, width=965.813, height=569.2, viewOffsetX=873.076, 
    viewOffsetY=633.764)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f, v3, e, d3 = p.faces, p.vertices, p.edges, p.datums
p.RepairSliver(face=(f[37], ), point1=p.InterestingPoint(edge=e[92], 
    rule=MIDDLE), point2=p.InterestingPoint(edge=e[30], rule=MIDDLE))
#* Remove sliver failed.
#* 
#* Some possible causes of failure:
#*  - The part has more than one cell.
#*  - Invalid entities result from the operation.
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[18:19]+f1[20:21]+f1[22:23]+f1[24:25]+f1[26:27]+\
    f1[28:29]+f1[30:31]+f1[32:33]+f1[37:41]+f1[45:50], deleteCells=True)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5533.74, 
    farPlane=8002.24, width=1751.51, height=1032.25, viewOffsetX=1.24561, 
    viewOffsetY=-597.017)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5812.41, 
    farPlane=7924.86, width=1839.71, height=1084.23, cameraPosition=(5417.29, 
    -4076.22, -21.7404), cameraUpVector=(-0.332665, -0.260903, 0.906236), 
    viewOffsetX=1.30833, viewOffsetY=-627.082)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5825, 
    farPlane=7912.27, width=1501.18, height=884.717, viewOffsetX=-344.94, 
    viewOffsetY=-1183.86)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5417.92, 
    farPlane=7957.83, width=1396.27, height=822.889, cameraPosition=(5201.86, 
    -1951.12, -2452.81), cameraUpVector=(0.0123343, -0.589086, 0.807977), 
    viewOffsetX=-320.834, viewOffsetY=-1101.13)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[19:20], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[32:33], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[8:9], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[18:19], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[21:22], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[1:2], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[19:20], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[16:17], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[8:9], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[14:15], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[9:10], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[5:6], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[9:10], deleteCells=True)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5511.21, 
    farPlane=7864.54, width=302.399, height=178.218, viewOffsetX=-399.327, 
    viewOffsetY=-1220.92)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[11:12], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f = p.faces
p.RemoveFaces(faceList = f[11:12], deleteCells=True)
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
f1 = p.faces
p.RemoveFaces(faceList = f1[2:3], deleteCells=True)
session.viewports['Viewport: 1'].view.setValues(nearPlane=5243.66, 
    farPlane=8132.08, width=3921.59, height=2311.18, viewOffsetX=324.837, 
    viewOffsetY=-257.29)
a = mdb.models['Lagerbock'].rootAssembly
session.viewports['Viewport: 1'].setValues(displayedObject=a)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.regenerate()
session.viewports['Viewport: 1'].view.setValues(nearPlane=14692.9, 
    farPlane=20005.6, width=3339.96, height=1968.4, viewOffsetX=-779.827, 
    viewOffsetY=657.022)
a = mdb.models['Lagerbock'].rootAssembly
del a.features['Datum plane-1']
session.viewports['Viewport: 1'].view.setValues(nearPlane=14851.5, 
    farPlane=19847, width=1448.97, height=853.946, viewOffsetX=123.779, 
    viewOffsetY=269.97)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14776.7, 
    farPlane=19805, width=1441.68, height=849.649, cameraPosition=(3178.7, 
    -11180.6, 15160.3), cameraUpVector=(-0.223549, 0.931273, 0.287676), 
    viewOffsetX=123.156, viewOffsetY=268.611)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14669.9, 
    farPlane=19783.9, width=1431.26, height=843.511, cameraPosition=(1125.24, 
    -16172.3, 8986.79), cameraUpVector=(-0.391853, 0.709215, 0.586059), 
    viewOffsetX=122.266, viewOffsetY=266.67)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14730.6, 
    farPlane=19723.1, width=632.493, height=372.759, viewOffsetX=-735.108, 
    viewOffsetY=-342.412)
session.viewports['Viewport: 1'].view.setValues(nearPlane=15043.4, 
    farPlane=19870.8, width=645.922, height=380.673, cameraPosition=(2002.21, 
    -16310.7, -6002.37), cameraUpVector=(-0.571068, 0.010895, 0.820831), 
    viewOffsetX=-750.716, viewOffsetY=-349.682)
session.viewports['Viewport: 1'].view.setValues(nearPlane=15038.8, 
    farPlane=19875.3, width=649.449, height=382.752, viewOffsetX=-1182.8, 
    viewOffsetY=-729.178)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14627.4, 
    farPlane=19934.9, width=631.686, height=372.283, cameraPosition=(582.583, 
    -12881.3, -10605.8), cameraUpVector=(-0.461293, -0.27638, 0.843103), 
    viewOffsetX=-1150.45, viewOffsetY=-709.234)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14652.9, 
    farPlane=19909.5, width=307.545, height=181.251, viewOffsetX=-1173.28, 
    viewOffsetY=-756.434)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13607.6, 
    farPlane=19406.4, width=285.604, height=168.32, cameraPosition=(-6169.92, 
    -10217.1, -9721.39), cameraUpVector=(-0.00567678, -0.447302, 0.894365), 
    viewOffsetX=-1089.57, viewOffsetY=-702.468)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13470.8, 
    farPlane=19543.1, width=1919.06, height=1130.99, viewOffsetX=-819.977, 
    viewOffsetY=262.201)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14542.8, 
    farPlane=19848.4, width=2071.79, height=1221, cameraPosition=(1055.7, 
    -15505.9, 10195.8), cameraUpVector=(0.818622, 0.476585, 0.320506), 
    viewOffsetX=-885.233, viewOffsetY=283.068)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14410.6, 
    farPlane=19980.7, width=3383.42, height=1994.01, viewOffsetX=-510.417, 
    viewOffsetY=-1140.11)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Rohr 6 S-2'].faces
f2 = a1.instances['Rohr-5-H-1'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[6], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=15149.4, 
    farPlane=19278.4, width=3645.07, height=2148.22, viewOffsetX=-449.229, 
    viewOffsetY=-348.153)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13878.6, 
    farPlane=18919.1, width=3339.31, height=1968.02, cameraPosition=(-6238.87, 
    -12897.3, 9535.56), cameraUpVector=(0.811647, 0.220352, 0.540994), 
    viewOffsetX=-411.546, viewOffsetY=-318.948)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13865.4, 
    farPlane=18932.4, width=3592.82, height=2117.42, viewOffsetX=-357.547, 
    viewOffsetY=-331.485)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14402.6, 
    farPlane=19003.5, width=3732.03, height=2199.47, cameraPosition=(-1573.58, 
    -3829.47, 17742), cameraUpVector=(0.989423, 0.135373, -0.0521119), 
    viewOffsetX=-371.401, viewOffsetY=-344.329)
session.viewports['Viewport: 1'].view.setValues(nearPlane=13639, 
    farPlane=18921.9, width=3534.15, height=2082.85, cameraPosition=(-6203.32, 
    -6992.63, 14615.6), cameraUpVector=(0.909312, 0.265405, 0.320489), 
    viewOffsetX=-351.709, viewOffsetY=-326.072)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Rohr 6 S-2'].faces
f2 = a1.instances['Rohr-1-V-1'].faces
a1.FaceToFace(movablePlane=f1[10], fixedPlane=f2[6], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=15626.9, 
    farPlane=21058.1, width=4049.25, height=2386.42, cameraPosition=(13336, 
    -10633.5, 11006), cameraUpVector=(0.376635, 0.9243, -0.0617769), 
    viewOffsetX=-402.97, viewOffsetY=-373.596)
session.viewports['Viewport: 1'].view.setValues(nearPlane=15694.5, 
    farPlane=20990.6, width=2521.25, height=1485.9, viewOffsetX=-601.004, 
    viewOffsetY=-736.091)
session.viewports['Viewport: 1'].view.setValues(nearPlane=15352.8, 
    farPlane=19302.5, width=2466.35, height=1453.54, cameraPosition=(2732.57, 
    -12565.5, 13998.9), cameraUpVector=(0.309198, 0.877084, 0.367587), 
    viewOffsetX=-587.916, viewOffsetY=-720.061)
session.viewports['Viewport: 1'].view.setValues(nearPlane=15494.2, 
    farPlane=19160.9, width=687.135, height=404.962, viewOffsetX=-1092.26, 
    viewOffsetY=-665.503)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14771.5, 
    farPlane=18635.2, width=655.082, height=386.071, cameraPosition=(-1336.86, 
    -10757.1, 14801), cameraUpVector=(0.266531, 0.906013, 0.328788), 
    viewOffsetX=-1041.31, viewOffsetY=-634.459)
session.viewports['Viewport: 1'].view.setValues(nearPlane=14509.7, 
    farPlane=18896.9, width=4254.92, height=2507.63, viewOffsetX=-239.539, 
    viewOffsetY=-600.797)
session.viewports['Viewport: 1'].view.setValues(nearPlane=16492.8, 
    farPlane=20927.9, width=4836.44, height=2850.35, cameraPosition=(12882.5, 
    -9230.9, 12673.4), cameraUpVector=(0.0916176, 0.985244, 0.144569), 
    viewOffsetX=-272.277, viewOffsetY=-682.908)
session.viewports['Viewport: 1'].view.setValues(nearPlane=16708.9, 
    farPlane=20711.8, width=1421.47, height=837.74, viewOffsetX=-817.963, 
    viewOffsetY=-404.62)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.translate(instanceList=('Rohr 6 S-2', ), vector=(-1580.047013, 0.0, 0.0))
#: The instance Rohr 6 S-2 was translated by -1.580047013E+03, 0., 0. with respect to the assembly coordinate system
session.viewports['Viewport: 1'].view.setValues(nearPlane=16137.8, 
    farPlane=20319.9, width=1372.88, height=809.107, cameraPosition=(9624.43, 
    -8295.27, 15406.9), cameraUpVector=(0.0861436, 0.993182, 0.0785407), 
    viewOffsetX=-790.006, viewOffsetY=-390.791)
session.viewports['Viewport: 1'].view.setValues(nearPlane=16145.8, 
    farPlane=20311.9, width=1237.32, height=729.213, viewOffsetX=-1210.54, 
    viewOffsetY=67.9989)
a = mdb.models['Lagerbock'].rootAssembly
e11 = a.instances['Rohr 6 S-2'].edges
a.DatumPointByOffset(point=a.instances['Rohr 6 S-2'].InterestingPoint(
    edge=e11[6], rule=MIDDLE), vector=(-420.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=16130.1, 
    farPlane=20327.6, width=2529.68, height=1490.86, viewOffsetX=-3183.39, 
    viewOffsetY=930.145)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.translate(instanceList=('Rohr 6 S-2', ), vector=(-420.0, 0.0, 0.0))
#: The instance Rohr 6 S-2 was translated by -420., 0., 0. with respect to the assembly coordinate system
session.viewports['Viewport: 1'].view.setValues(nearPlane=15905.8, 
    farPlane=20551.9, width=4099.62, height=2416.1, viewOffsetX=-2426.06, 
    viewOffsetY=15.1524)
mdb.save()
#: The model database has been saved to "D:\Studium\BSK\Abaqus\Lagerbock.cae".
a1 = mdb.models['Lagerbock'].rootAssembly
p = mdb.models['Lagerbock'].parts['Rohr 6 S']
a1.Instance(name='Rohr 6 S-1', part=p, dependent=OFF)
p1 = a1.instances['Rohr 6 S-1']
p1.translate(vector=(3044.62527502076, 0.0, 0.0))
session.viewports['Viewport: 1'].view.fitView()
session.viewports['Viewport: 1'].view.setValues(nearPlane=10110.5, 
    farPlane=16222, width=2089.75, height=1231.59, viewOffsetX=1217.62, 
    viewOffsetY=-143.777)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10352.5, 
    farPlane=15847.9, width=2139.76, height=1261.07, cameraPosition=(13924.7, 
    -4298.78, 113.63), cameraUpVector=(-0.00793654, 0.911587, 0.411031), 
    viewOffsetX=1246.76, viewOffsetY=-147.218)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10228.7, 
    farPlane=15968, width=2114.18, height=1245.99, cameraPosition=(13743.5, 
    -3317.09, -2028.78), cameraUpVector=(-0.0100598, 0.9135, 0.406714), 
    viewOffsetX=1231.85, viewOffsetY=-145.457)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9990.91, 
    farPlane=16220.5, width=2065.03, height=1217.02, cameraPosition=(12347.9, 
    -6652.75, 5554.23), cameraUpVector=(0.0690298, 0.964533, 0.254777), 
    viewOffsetX=1203.21, viewOffsetY=-142.076)
session.viewports['Viewport: 1'].view.setValues(nearPlane=9830.38, 
    farPlane=16381, width=4695.31, height=2767.17, viewOffsetX=1280.32, 
    viewOffsetY=108.209)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Rohr 6 S-1'].faces
f2 = a1.instances['Rohr-5-H-2'].faces
a1.FaceToFace(movablePlane=f1[0], fixedPlane=f2[6], flip=OFF, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10339.4, 
    farPlane=15899.4, width=3050.75, height=1797.95, viewOffsetX=-157.102, 
    viewOffsetY=68.8209)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10668.8, 
    farPlane=15952, width=3147.95, height=1855.24, cameraPosition=(13121.2, 
    5457.54, 3837), cameraUpVector=(-0.708509, 0.700799, -0.0830377), 
    viewOffsetX=-162.107, viewOffsetY=71.0136)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10573.7, 
    farPlane=16047.1, width=4012.38, height=2364.69, viewOffsetX=15.3158, 
    viewOffsetY=15.826)
a1 = mdb.models['Lagerbock'].rootAssembly
f1 = a1.instances['Rohr 6 S-1'].faces
f2 = a1.instances['Rohr-1-V-3'].faces
a1.FaceToFace(movablePlane=f1[4], fixedPlane=f2[6], flip=ON, clearance=0.0)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10126.5, 
    farPlane=16078.4, width=4138.33, height=2438.91, viewOffsetX=-756.091, 
    viewOffsetY=74.944)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10072.8, 
    farPlane=15882.6, width=4116.4, height=2425.99, cameraPosition=(8531.08, 
    -9455.01, 8008.21), cameraUpVector=(0.268407, 0.908185, 0.321183), 
    viewOffsetX=-752.085, viewOffsetY=74.547)
session.viewports['Viewport: 1'].view.setValues(nearPlane=10154.1, 
    farPlane=15801.4, width=2935.37, height=1729.96, viewOffsetX=1.1347, 
    viewOffsetY=-663.224)
a = mdb.models['Lagerbock'].rootAssembly
e21 = a.instances['Rohr-5-H-2'].edges
a.DatumPointByOffset(point=a.instances['Rohr-5-H-2'].InterestingPoint(
    edge=e21[21], rule=MIDDLE), vector=(-420.0, 0.0, 0.0))
session.viewports['Viewport: 1'].view.setValues(nearPlane=11456.2, 
    farPlane=15814.2, width=4658.96, height=2745.75, viewOffsetX=55.5843, 
    viewOffsetY=-456.881)
a1 = mdb.models['Lagerbock'].rootAssembly
a1.translate(instanceList=('Rohr 6 S-1', ), vector=(-2874.97241, 0.0, 0.0))
#: The instance Rohr 6 S-1 was translated by -2.87497241E+03, 0., 0. with respect to the assembly coordinate system
session.viewports['Viewport: 1'].view.setValues(nearPlane=11362.1, 
    farPlane=15264.5, width=4620.71, height=2723.2, cameraPosition=(5403.23, 
    -12208.5, 5723.7), cameraUpVector=(-0.203136, 0.57106, 0.795378), 
    viewOffsetX=55.1279, viewOffsetY=-453.13)
session.viewports['Viewport: 1'].view.setValues(nearPlane=11255.5, 
    farPlane=15371.3, width=5647.66, height=3328.44, viewOffsetX=106.572, 
    viewOffsetY=108.355)
mdb.save()
#: The model database has been saved to "D:\Studium\BSK\Abaqus\Lagerbock.cae".
