Parameters with StorageType:None

Parameters with StorageType:None

BardiaJahan
Advocate Advocate
863 Views
4 Replies
Message 1 of 5

Parameters with StorageType:None

BardiaJahan
Advocate
Advocate

There are some type parameters that need to be changed through window/dialogue boxes such as Wall Type Structure or Dimension Type Units Format. I believe the StorageType for those parameters is None. I am trying to change those values programmatically for family types. Is there any way to get access to them. Even a workaround for any of those would be a great help.

0 Likes
Accepted solutions (1)
864 Views
4 Replies
Replies (4)
Message 2 of 5

GonçaloFeio1321
Enthusiast
Enthusiast

Try finding out what they are by ParameterType.

0 Likes
Message 3 of 5

BardiaJahan
Advocate
Advocate
I believe they are all of type Invalid.
0 Likes
Message 4 of 5

matthew_taylor
Advisor
Advisor
Accepted solution

Hi @BardiaJahan,

'Invalid' parameter types are used by Revit and aren't exposed to us via the API.

 

As of Revit 2017.1, the dimensionType units are accessible:

http://thebuildingcoder.typepad.com/blog/2016/11/whats-new-in-the-revit-20171-api.html#4.3.2

Before that, they're probably not accessible.

 

To access wall structure layers, you'll need to access those via other than parameters. See Jeremy's topic listing:

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.17

The SDK has examples of compound structure component access also.

 

Cheers,

 

-Matt

 


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
Message 5 of 5

BardiaJahan
Advocate
Advocate

@matthew_taylor

 

I have used wall structure API but I was wondering if there is a more generic way to modify these properties. Apparently there is not and many thanks for clarification.

0 Likes