@Draxl_Andreas Ok thanks, sorry for inconvince.
Thanks
@jacob.small @christian.stan @negigulshan903
i did some progress… a college tested a bit! and this code works
import sys
import clr
import Autodesk
from Autodesk.Revit.DB import *
import RevitServices
from RevitServices.Persistence import DocumentManager
doc = DocumentManager.Instance.CurrentDBDocument
OUT = doc
He did not use “AddReference”
KR
Andreas