Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Revit Document provided

sizy458
Advocate

Revit Document provided

sizy458
Advocate
Advocate

Hello,

 

How do I know in c# programming

if the UiDocument or Document instance provide from a basic template (.rte) ?

 

Thank.

0 Likes
Reply
321 Views
1 Reply
Reply (1)

jeremytammik
Autodesk
Autodesk

You can ask the document for its filename and look at the filename extension.

  



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes