Space lattice warning

#1

Hi,

I tried to explore the space analysis package recently to help me figure various routes in the building, bu I get a warning and I’m not able to run the script.

0 Likes

#2

Try a restart.

0 Likes

#3

@JacobSmall thanks for the suggestion, I did create a new file with different elements, result is the same.

0 Likes

#4

A NEW WARNING though

0 Likes

#5

What type of units is your project using?

0 Likes

#6

Hi Arun,

What is returned by Element.GetLocation? The barriers parameter needs to be a list of Lines (we’ll make sure we do better type checking so that the warning is more helpful).

If you have curves that aren’t lines there’s also a helper Util function that converts them for you.

Hope this helps,

Kean

1 Like

#7

@john_pierson Its Meters

0 Likes

#8

@keanw
thanks for the suggestion
DO you think its correct ?

0 Likes

#9

@keanw

0 Likes

#10

@Arun_Prakash, you can try making the resolution a bit smaller, maybe 0.7 is too big, try 0.2, it’s possible that with 0.7, there is no path. For debugging, you can see the underlying lattice structure by using SpaceLattice.Edges node.

1 Like

#11

@Simon_Breslav thanks a lot.
It works now, thanks all for your support.

1 Like