2020-07-29 11:40 AM - last edited on 2021-09-15 10:30 AM by Noemi Balogh
2020-07-29 08:34 PM
2020-07-29 09:00 PM
2020-07-29 10:39 PM
2020-07-29 11:40 PM
2020-07-30 08:50 AM
poco2013 wrote:Yes, that's one way.
A work around is to use acc.GetAllClassificationSystems() and the iterate though to find the name and version number you want. Then retrieve the ID (guid) with return[?].classificationSystemId.guid.
2020-07-30 02:19 PM
2020-07-30 02:44 PM
Tibor wrote:Woah.. What a coincidence.. I had been working on developing the same thing !! Will check it out and post. Thanks.
Hi Guys,
I've just implemented a new example script.
It shows how to handle classifications of elements and how to create own dialogs (user interface) with python scripts😉
Download the script from here:
https://graphisoftse-my.sharepoint.com/:u:/g/personal/tlorantfy_graphisoft_com/EaOZ8nvnbF1AgtbdY0qHM...
See demo video here:https://ttprivatenew.s3.amazonaws.com/pulse/tlorantfy-graphisoft/attachments/14250096/classification...
2020-07-31 12:11 PM
Tibor wrote:Tested the script on a couple of project files. My observations are:
Hi Guys,
I've just implemented a new example script.
It shows how to handle classifications of elements and how to create own dialogs (user interface) with python scripts😉
Download the script from here:
https://graphisoftse-my.sharepoint.com/:u:/g/personal/tlorantfy_graphisoft_com/EaOZ8nvnbF1AgtbdY0qHM...
See demo video here:https://ttprivatenew.s3.amazonaws.com/pulse/tlorantfy-graphisoft/attachments/14250096/classification...
elementsNewClassifications.extend([act.ElementClassification(elementId, act.ClassificationId(newClassificationSystemId, newci.classificationItemId)) for newci in newClassificationItems])
AttributeError: 'NoneType' object has no attribute 'classificationItemId'This is the case when the some classification of v22 is
2023-01-20 06:32 AM
Hi Tibor,
I am trying to access the link to the python code but get an error that says
"Sorry, you cannot access this document. Please contact the person who shared it with you."
Will you be able to grant me access to it? It will be extremely useful.
Regard
Mauricio