Hello,
Is there a way we can loop through the objects in the family (and subsequently create it) when none of the objects in the family are created yet?
Develop games in your browser. Powerful, performant & highly capable.
Not really, you could check if a certain object type has count greater than 0 and then do this for each individual object.
At least we can enlist family member into array or text first then loop through from there.
Recently find out that it is possible loop through family by create local variable and iterate by ObjectTypeName.
*https://www.dropbox.com/scl/fi/7kxctgsdlp8nvh46xdev8/Loop_through_family.c3p?rlkey=ubo6oupikiz8qi6qiid59m0ld&dl=0
The above doesn't really solve the problem that is being asked, they want to know if every object that exists in a Family has been created, not to loop through existing instances that are already created.
lionz Ah you can do like this for that matter:
*edit[add link] : drive.google.com/file/d/1VuPjyTksJjsGmytVuXEy6taxbw3s16Cl/view
Again this will only loop through created instances, rather than check each object within a family. That's why I mentioned earlier it's probably not possible unless you check each individual object's count.