Create dynamic price list based on family parameter provided by size_lookup formula

Create dynamic price list based on family parameter provided by size_lookup formula

denisyukJ
Advocate Advocate
398 Views
1 Reply
Message 1 of 2

Create dynamic price list based on family parameter provided by size_lookup formula

denisyukJ
Advocate
Advocate

Hello everyone, 

Sorry if did a topic in wrong section but i've got a question and probably API can be solution.

I've got a family parameter (Price) driven by size_lookup formula. I want to link csv file with xls price list to update automatically. But the problem is update actual csv file inside a family. The only way i know is manual replace. Is there any way to aumate it? 

I also asked this quetion here.

In attached you can find a sample of family with built-in lookup table.

 

Best regards,

Evgeniy Denisyuk

0 Likes
399 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

This sounds like an appropriate place for such a question to me.

 

The link in your text points to a non-existent site, so I cannot see the other posting that you mention:

 

http://is%20there%20any%20way%20to%20aumate%20it/?

   

Anyway, to address your question:

 

Afaict, it can be reduced to:

 

Can I programmatically update the size_lookup csv file inside a family definition?

 

I believe the answer is yes.

 

Here are two related articles by The Building Coder:

 

 

One of them mentions the FamilySizeTableManager:

 

https://www.revitapidocs.com/2022/dc4bfffa-e529-49d5-6077-c1e03370cc6c.htm

 

It manages importing, exporting, and querying size data through the FamilySizeTable class.

 

I hope this helps.

   

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes