mattmas / Metamorphosis

A tool for watching changes between Revit models, addin and Dynamo.
MIT License
76 stars 23 forks source link

how to working in big file (CAN CUSTOM EXPORT SDB FILE) #38

Open zhuxuan09 opened 2 years ago

zhuxuan09 commented 2 years ago

Dear Mason When it working in big file , it takes a long time ALL MEP is in one file , but I only want to check one item (e.g. drainage ) Compare can selection Categories , but Snapshot can't by Categories. So , I need a lot of time to export Snapshot file .
I hope it can export by categories . I am chinese , my english is bad I see the code , it mybe need modify SnapshotMaker.cs file

// retrieve all of the instance elements, and process them. FilteredElementCollector coll = new FilteredElementCollector(_doc); coll.WhereElementIsNotElementType();

May I change this ? Because the code is too complicated , I am a novice

mattmas commented 2 years ago

Zhuxuan09,

Yes – you’re on the right track. Go ahead and try a change like that (just make sure that you can only compare the same way).

I would also recommend making sure that you get Drainage family types and drainage family instances.

-Matt

From: zhuxuan09 @.> Sent: Wednesday, September 15, 2021 7:35 AM To: mattmas/Metamorphosis @.> Cc: Subscribed @.***> Subject: [mattmas/Metamorphosis] how to working in big file (CAN CUSTOM EXPORT SDB FILE) (#38)

_ CAUTION - External Email

Dear Mason When it working in big file , it takes a long time ALL MEP is in one file , but I only want to check one item (e.g. drainage ) Compare can selection Categories , but Snapshot can't by Categories. So , I need a lot of time to export Snapshot file . I hope it can export by categories . I am chinese , my english is bad I see the code , it mybe need modify SnapshotMaker.cs file

// retrieve all of the instance elements, and process them. FilteredElementCollector coll = new FilteredElementCollector(_doc); coll.WhereElementIsNotElementType();

May I change this ? Because the code is too complicated , I am a novice

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/mattmas/Metamorphosis/issues/38, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABL3DIV2ZM4E7QOR3UCAUTTUCCAE5ANCNFSM5ECHNYVA.