Unable to Get ScheduleType

Unable to Get ScheduleType

Anonymous
Not applicable
545 Views
2 Replies
Message 1 of 3

Unable to Get ScheduleType

Anonymous
Not applicable

Hello all,

I'm working with schedules, I need to know the ScheduleType information. Which I wasn't able to find by using Revit API and Revit Lookup. However, with Dynamo I can easily get the ScheduleType information as shown in the image below.

I'm wondering, is there any way I could get the same information from Revit API too? 

 

Appreciate any help!

Thank you

~ Ali Asad

 

schedule.png

 

 

 

0 Likes
546 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Dear Ali,

 

Afaik, absolutely everything available in Python is open source.

 

Therefore, you can simply read the Python code to see how it is done and what API calls are used.

 

You can also easily translate the Python code to C#, VB, or any other .NET language of your choice.

 

Cheers,

 

Jeremy



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

Message 3 of 3

RPTHOMAS108
Mentor
Mentor

Refer to RevitAPI.chm

 

ScheduleDefinition.IsKeySchedule

ScheduleDefinition.IsMaterialTakeoff

 

Excluding above could also relate to MEP schedules. Have no experience of those but know they can be excluded from the possibilities by looking at:

 

 ScheduleDefinition.HasEmbeddedSchedule

ScheduleDefinition.IsEmbedded

 

(Depends what you count as a regular schedule I suppose).

0 Likes