Formatting Assembly Schedules

Formatting Assembly Schedules

kmiller
Collaborator Collaborator
592 Views
4 Replies
Message 1 of 5

Formatting Assembly Schedules

kmiller
Collaborator
Collaborator

I am researching how to go about formatting an existing assembly schedule as a start to some larger customization.  Everything I have seen points to this webpage:  http://adndevblog.typepad.com/aec/2012/08/assemblyparts-samples.html

 

My question is: 

 

A - Is it programmically possible to have a schedule (populated from creating an assembly) be either active or selected and then have it specifically formatted to the users needs by a command say for instance "Format Schedule"? 

 

or

 

B - per the post it looks as if they are doing everything on the fly - creating assembly, schedule, and sheet.  I looked at some of the source code on there and doesn't look like there is formatting options for the schedule even if you build the whole assembly programatically?

 

My other approach was looking at the TableData and ViewSchedule classes???

 

Thanks in advance.

 

 

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
0 Likes
Accepted solutions (1)
593 Views
4 Replies
Replies (4)
Message 2 of 5

kmiller
Collaborator
Collaborator

Anyone got anything on this?  Even if it's just to confirm my thoughts?  I still got nothin'.

 

Right now if anything is possible option A I believe was looking the most promising.  But still looking. 

 

We are running 2015 Revit.

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
0 Likes
Message 3 of 5

kmiller
Collaborator
Collaborator

Alright,

 

Can someone just let me know if I am going in the correct direction here.  I was reading a little on the ViewSchedule documentation and it looks as if I should be able to modify and exisitng schedule with the methods contained in here.  Or am I missing/not seeing something? 

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
0 Likes
Message 4 of 5

rosalesduquej
Alumni
Alumni
Accepted solution

Hi Kmiller,

 

Thank you for all your patience, It seems like you are on the right track using ViewSchedule, But another thing that caught my eye with the formatting of your Schedule is a sample on the SDK folder for Revit 2015. Have you seen ScheduleAutomaticFormatter Sample? Especially the class ScheduleFormatter.CS It is located inside of the Samples folder on the SDK. Check it out it might help you a lot with what you are trying to do.

 

Let me know how it goes please and again thank you for your patience.

 

Cheers,



Jaime Rosales D.
Sr. Developer Consultant
Twitter | AEC ADN DevBlog
0 Likes
Message 5 of 5

kmiller
Collaborator
Collaborator

Thank you for the suggestion on the sample code.  Not sure why but that one slipped right by me.  I was able to get custom fields to display in my schedule.  Now on to the next step.

 

Thanks.

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
0 Likes