Add properties for Revit file through Ilogic

Add properties for Revit file through Ilogic

Kassenbouw
Enthusiast Enthusiast
383 Views
2 Replies
Message 1 of 3

Add properties for Revit file through Ilogic

Kassenbouw
Enthusiast
Enthusiast

Hi,

 

I'm using an external rule to create a rfa file. I would like to add some properties to this file. 

Manually I can create / fill in these properties in the BIM envirement at Author Building Components. Is there a way to do this through ilogic?

 

Thanks

 

0 Likes
384 Views
2 Replies
Replies (2)
Message 2 of 3

JelteDeJong
Mentor
Mentor

Did you see the post: "Edit a BIM Connector via iLogic". In that post i added Bim information to a part. 

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes
Message 3 of 3

Kassenbouw
Enthusiast
Enthusiast

Hoi Jelte,

 

I'm getting a error when I run your code:

 

System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.Assets.get_Item(Object Index)
at ThisRule.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

 

I'm running the code in an part. 

0 Likes