"Null" result Given By FamilyInstance.ByFace Node

Hi everybody,

I want to set family by point with surface but getting value is “null”.
Please suggest me what to do.

Thanks

Can upload file error and scripts ?

Hi @chuongmep

I upload a Test file & script.

test.rvt (1.8 MB)

Test.dyn (62.2 KB)

You need check Family Support place to face. : “M20…”


test.rvt (2.0 MB)
Test.dyn (72.0 KB)

Thanks for your reply :+1: :grinning:
it’s working is fine for single surface but i want use multiple surface.

i checked same script for multiple surface but answer is “null” that my question.

if you want do that, you need define what face need place , next filter and use it map count with number point to place.
Example : you have 3 surface , you need 3 point to place and don’ use list level (L1)

I use two surface & i get two points for every surface. (shown as below) Then remove list level(L1).
result is null also. And also use List.chop for surface.

Try Flatten All List To Match with count surface ,
Surface need create to 4 count.

Can you give me a snip what you do?

For manual surface selection its work properly, but when I try to select Surface from Wall by filter its give result null.
Please go through with attached snip for clarification.

Thank You

Currently I cannot reproduce this error to help you, please attach exactly what is going on with you.

I select wall by category, then filter by material paint , then select opposite of surface (Opposite side
of Pink colour).

Here I attached Dynamo Script file and also Run file, please go through.
Thank You
test.rvt (1.8 MB) Test.dyn (68.4 KB)

It working for me, what problem with you ?

I think you are select manual selection. i give you a new snip for your understand.

Try some like that :

Thank You so much for your help, :grinning: :+1: :grinning: :+1: :grinning: :+1:

You are welcome.