Good day, fellow ALLPLAN enthusiasts
Cant really understand how CreateLibraryElement function works
Judging by manual it doesnt take any elements as agrument
CreateLibraryElement(doc: DocumentAdapter, insertionMat: Matrix3D, path: str, elementName: str) -> BaseElementAdapterList
Is it supposed to save everything i have in opened document in my library as symbol? Can i save some specific element to library?
Tried to use it but i have same error everytime:
AllplanBaseElements.CreateLibraryElement(self.document, AllplanGeo.Matrix3D(),path,"test.sym")
RuntimeError: unidentifiable C++ exception