OnRPC Method


IExport Context On RPC Method

This method marks the beginning of export of an RPC object.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
void OnRPC(
	RPCNode node
)

Parameters

node RPCNode
A node with asset information about the RPC object.
Remarks
This method is only called for photo-rendering export (a custom exporter that implements IPhotoRenderContext ). When an RPC object is encountered for a model context export (a custom exporter that implements IModelExportContext ), the RPC object will be provided as a polymesh (via OnPolymesh(PolymeshTopology) ).
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →