How to access Itemize every instance property of the Schedule from Revit API

How to access Itemize every instance property of the Schedule from Revit API

JenishRahul
Participant Participant
802 Views
3 Replies
Message 1 of 4

How to access Itemize every instance property of the Schedule from Revit API

JenishRahul
Participant
Participant

Hello!!

We've successfully created several Schedules with Necessary fields and filters. We need to access this Itemize every instance property using Revit API. After all the hard parts, we can't check this little box using API. I've gone through RevitAPIDocs for some time and couldn't find this listed there. Did I miss anything obvious or is there any alternative ways?

Any suggestions or alternative methods will be helpful. Thanks ..!

 

JenishRahul_0-1714113674162.png

0 Likes
Accepted solutions (1)
803 Views
3 Replies
Replies (3)
Message 2 of 4

Mohamed_Arshad
Advisor
Advisor
Accepted solution

HI @JenishRahul 

 

         We have IsItemized Property in ScheduleDefinition Class , We need to assign true or false to this property. Kindly refer to the below code for additional reference.

 

Sample Code Snippet

            ViewSchedule schedule = ViewSchedule.CreateSchedule(doc, new ElementId(BuiltInParameter.INVALID));
            schedule.Definition.IsItemized = true; //false to uncheck the box

 

Hope this Helps 🙂

 


Mohamed Arshad K
Software Developer (CAD & BIM)

Message 3 of 4

JenishRahul
Participant
Participant

Thank you so much for your instant reply @Mohamed_Arshad . Missed to check in the ScheduleDefinition Class.

0 Likes
Message 4 of 4

Mohamed_Arshad
Advisor
Advisor

Glad to Help Anytime 🙂 Sometimes it may happens 


Mohamed Arshad K
Software Developer (CAD & BIM)

0 Likes