This is Gregory Mertens's Typepad Profile.
Join Typepad and start following Gregory Mertens's activity
Gregory Mertens
Recent Activity
That's exactly what I did. Most of the time the conversions work out well. Still learning though.
Implement and register an IUpdater interface of Revit API with C#
The IUpdater interface of Revit API provides a means to monitor element status such as addition, deletion, and modification. The IUpdater has a few methods for derivatives to implement, for example, Execute, GetAdditionalInformation, GetChangePriority, GetUpdaterId, and GetUpdaterName. The core ...
ah....color me new.
http://spiderinnet.typepad.com/blog/2011/06/revit-api-vbnet-iupdater-implementation-with-vbnet.html
Implement and register an IUpdater interface of Revit API with C#
The IUpdater interface of Revit API provides a means to monitor element status such as addition, deletion, and modification. The IUpdater has a few methods for derivatives to implement, for example, Execute, GetAdditionalInformation, GetChangePriority, GetUpdaterId, and GetUpdaterName. The core ...
a vb.net version would be very helpful. I'm getting
"...must implement 'Sub Execute(data As UpdaterData)' for interface 'Autodesk.Revit.DB.IUpdater"
But I don't know how to resolve it. (yet)
Implement and register an IUpdater interface of Revit API with C#
The IUpdater interface of Revit API provides a means to monitor element status such as addition, deletion, and modification. The IUpdater has a few methods for derivatives to implement, for example, Execute, GetAdditionalInformation, GetChangePriority, GetUpdaterId, and GetUpdaterName. The core ...
Expression of type 'Autodesk.Revit.DB.DefinitionGroups' is not queryable. Make sure you are not missing an assembly reference and/or namespace import for the LINQ provider.
Collect Shared Parameter Information with VB.NET
Revit shared parameters are defined in an external text file and once the file is created and set up it will be used for all models from that moment on until the setting is changed to some other file later. From the API point of view, the Revit Application object provides a method, OpenSharedPar...
Jeremy,
I'm just learning about Revit error handling.
I have a routine that is triggered by the documentPrintingEvent. This routine writes information to parameters in the target sheet(s).
One problem I've been able to create/anticipate is when the user can't obtain permission to edit the sheet element (because someone else has it checked out). This of course leads to the error dialog "can't edit the element until...". I want to be able to capture that error and simply not perform the parameter writing so that the user can proceed with printing without interruption. (abort the transaction)
Make sense? Can this be done with the Failure API?
...gregory
Failure API
A very frequent question from developers in the past has been about suppressing various warning and error messages in Revit. One of the many new Revit 2011 API features specifically targeted at allowing an add-in to integrate very tightly with Revit and its user interface is the new Failure API...
Gregory Mertens is now following The Typepad Team
Aug 21, 2011
Subscribe to Gregory Mertens’s Recent Activity