Dynamo C3D- Get document Dynamo version

Hi,

Is there any way to get active document version of current file, that is the dynamo build or dynamo version being used by user in active file. is there any python node that does that. for revit i had a python :

import clr
clr.AddReference(‘DynamoRevitDS’)
import Dynamo
clr.AddReference(“RevitServices”)
import RevitServices
from RevitServices.Persistence import DocumentManager

uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application

revitVersion = app.VersionName
revitBuild = app.VersionBuild

dynamoRevit = Dynamo.Applications.DynamoRevit()
dynamoversion = dynamoRevit.RevitDynamoModel.Version

OUT = dynamoversion,revitVersion, revitBuild

can anybody help me out with how to do same for dynamo C3D.
Thanks

Regards
Sachin M

Check this post.

2 Likes

wow ! that was super quick , thank you Sean. Really appreciate the quick reply & support.
Thanks again

1 Like