RevitCity.com Logo

Home  |  Forums  |  Downloads  |  Gallery  |  News & Articles  |  Resources  |  Jobs  |  FAQ  |  SearchSearch  |  Join  |  LoginLogin

Welcome !

40 Users Online (39 Members): Show Users Online - Most ever was 626 - Mon, Jan 12, 2015 at 2:00:17 PM

 

Forums

Forums >> Workflow & Implementation >> API & Third Party Apps >> Add size_lookup formula via Revit API

Search this ThreadSearch this Thread | Page 1 of 1 |

Mon, Mar 21, 2016 at 8:53:25 AM | Add size_lookup formula via Revit API

#1

JoostvZ


active

Joined: Mon, Mar 21, 2016
0 Posts
No Rating


Hi guys,

I'm using the FamilySizeTableManager Revit API class to load a CSV file into my family, which works. When I open the family in Revit afterwards, I can enter formulas to use the lookup table: "size_lookup("MyLookupTable", "L1", 20 mm, D1, D2, ANGLE)".

But I'm not able to enter the same size_lookup formula via the API. When I call:

FamilyManager.SetFormula( parameter, "size_lookup(\"MyLookupTable\", \"L1\", 20 mm, D1, D2, ANGLE)" );

the API returns "It is an invalid formula string. Parameter name: formula". I've also tried single quotes, but with no luck. What am I doing wrong?


This user is offline

 

Search this ThreadSearch this Thread | Page 1 of 1 |



Similar Threads

Thread/Thread Starter

Forum

Last Post

Replies

Programming macros with the revit API

General Discussion >> Revit Project Management

Wed, Feb 1, 2012 at 4:33:56 AM

2

WorksetExplorer for Revit 2013

Workflow & Implementation >> API & Third Party Apps

Wed, Mar 20, 2013 at 9:48:16 AM

4

Revit 2013 API

Workflow & Implementation >> API & Third Party Apps

Mon, Dec 31, 2012 at 10:32:36 AM

1

Add 2 to Parameter Formula

Revit Building >> Technical Support

Fri, Nov 9, 2007 at 1:06:13 PM

3

RemoveEmptyTags Revit API Tool from dp Stuff

Workflow & Implementation >> API & Third Party Apps

Tue, Mar 26, 2013 at 7:14:26 AM

1

Site Stats

Members:

1987556

Objects:

22875

Forum Posts:

152177

Job Listings:

3

Sponsored Ads

Home | Forums | Downloads | Gallery | News & Articles | Resources | Jobs | Search | Advertise | About RevitCity.com | Link To Us | Site Map | Member List | Firm List | Contact Us

Copyright 2003-2010 Pierced Media LC, a design company. All Rights Reserved.

Page generation time: 1.4317

Login

User Name:

Password:

Remember Me  

Forgot Password?

Search Forums

Advanced Search

Search Forums

Advanced Search


Clear Highlights


Clear Highlights