Help about Adaptive Component by Points

adaptivecomponent

#1

Hello, anyone can help me out the warning of the component?
I was trying to create a simple adaptive surface with three points, it works when I just create it from Revit, but when I use the adaptive components it gives me the warnings as “AdaptiveComponent.ByPoints operation failed. The arguments have issues”. It is such a simple family. I’m desperate.


Adaptive Component by Points: The arguments have issues
#2

Hi @qinhengz ,
what’s the error message? Just a very wild guess: maybe the order of your point list is the problem. If you share your adaptive family you’ll probably get some better help.


#3

In addition to a possible points order not matching your AC, the other problem you have is flattening your point list - it needs to be 2D i.e. a list of lists, and rectangular, otherwise the AdaptiveComponents.ByPoints node will fail (‘rectangular’, in the context of arrays, means an equal number of objects per sublist). Also, check the data type hints by hovering your cursor over the node inputs. Where you see hints like this:

point requires a point
point[] requires a 1D list of points
point[][] requires a 2D list of points (this is what the AdaptiveComponents.ByPoints node hint shows)
point[]..[] means any data structure is permissible, even jagged arrays


#4

It seems like new users can’t upload attachment. But here’s the screenshot for the family, it’s just three adaptive points to create a surface. I’m going to make a facet roof, I wish to link the points or curves to dynamo so that any updates can be automatically shown in Revit, Or is there a way to import surface or create roof elements from Dynamo? I can create solids from Dynamo but it will need some manual edit to make roofs.

As for the error, it says “The arguments have issues”.

Thanks for your help.


#5

As mentioned above try feeding the Flatten list into a Chop node and set the length to 3. If this fails try re-arranging the order of points entering the List.Create node.


#6

Thanks! the chop node works.Do you know where I can find more information about the data structure for Dynamo? I’m a little confused for it.


#7

The best sources for learning list structures would be Dynamo Primer and although a little out dated the Dynamo Language document.


#8

i have the same problem , i am trying to spread adaptive triangle on this 3 curves but its not working out , and am getting the same error …
it seems true that new users cant upload photos


#9

kefak mostafa
3ndi nafs mshkeltak hoon la2et 7l lal el meshkli ?


#10

Hi @aboodnoah , I’m good thanks :slight_smile:
have you tried list.chop as suggested above?


#12

Are you trying to place (1) 3-point Adaptive Component (AC), with 1 point hosted on each of 3 separate curves? OR Are you trying to place 3 ACs, each with all 3 points on a single curve?