2027.0.3 #435
2027.0.3
#435
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On-demand member evaluation
Earlier versions evaluated every member as soon as you opened the RevitLookup window.
That was risky, because RevitLookup would call terminal methods and methods that modify the object without asking, and for large objects you had to wait while hundreds of slow calls ran.
Methods that return
voidcould not be executed at all.You could see them in the list, but RevitLookup had no way to run them, so you could never invoke one or confirm it worked.
Evaluation now happens on demand #298.
When an object opens, RevitLookup evaluates only the members it considers safe to call, now it's members from
SystemandAutodesk.Revitnamespaces.Everything else is deferred until you ask to evaluate. Opening even heavy objects stays fast, and you decide which expensive or model-changing members actually run #239.
Methods that return
voidare now runnable too, handled as deferred members like everything else, so you can finally invokeView.Printor similar methods.To evaluate a deferred member, two new commands were added to the row context menu:
F8) runs the member.Alt + F8) runs the member inside a Revit transaction, which some members require in order to execute. Any changes the member makes are committed to the document.If you hit a member that should be evaluated automatically, or one that should not, please report it in the Discussions for this release.
Readable value states
The values table used to render everything as plain text.
A member that throws an Exception showed a red row spanning the whole width, which was easy to misread and looked broken for anyone running a red system accent color, while special states like "<null>" were just more text that blended in with real values.
Each state now has its own icon and label, so you can tell at a glance what a row actually is:
voidmethod that has been successfully evaluated.Improvements
#FF7F00instead ofRGB: 255 127 0.Documentation
Wikiis available for public editing with your pull requests. The public wiki is automatically synchronized with the repository.Full changelog: 2027.0.2...2027.0.3
This discussion was created from the release 2027.0.3.
Beta Was this translation helpful? Give feedback.
All reactions