Filled region error


#1

hi guys I have some filled region node error …!
Iam trying to create a filled region with multiple loop and ended up in a error that says
" This curve will make the loop not contiguous.Parameter name: pCurve"
wondering what is the cause of the issue…!

I have also attached a Dynamo file here
rvt file used is the sample architecture project.
version 2018.1 dyn version: 1.3.2

C-sheet room.dyn (99.6 KB)

any hlp ?!


#2

You might not be handling your lists correctly for that node. Can you show your inputs (with node previews turned on) for the FilledRegion node?


#3

@saju_autodesk Please show us complete graph with all the previews turned on for this topic and future topics. it will help others who is trying to help you.


#4

Thanks for the reply @Nick_Boyts @Kulkul I was facing some issue while upload …!

I thought the dynamo file would help on it…! any ways here we go…!
I have resized the image works good on open in new tab…!

Also I noticed that when using the camera button on top right(export workspace as image) sometimes the background preview is vanished and has a white background…! I shall start a topic for this later…! I am attaching the BG preview here…!


#5

Can you post a copy of your model? It’s always best to share your specific files in case anything has changed or happened to them. The easier it is for us to replicate your exact conditions the more likely we can find you a solution.

Edit: From looking at the error and doing my own testing it sounds like at least one of your sublists of curves does not create a closed loop.


#8

here it is…!
https://drive.google.com/file/d/1G9sqjYEKmFhR_ZHa0uzQ3O1gMEBsxAqt/view?usp=sharing


#9

Im fairly certain that is the intended behavior, to allow for easier reading of node connections. Have you seen the backround preview when using the camera export previously?


#10

@JacobSmall…! yea just verified no BG’s on earlier snips…! I also agree with it that it would be easier with out background Image…!

Also, I tried to make a filled region today…! in a separate file…!

wen i pass the curves as different list it successfully creates the filled region…!


But on flattening the list then inputting them causes an error…!

with the following error message…!

I am I missing something or is it some node error…? Plz hlp


#11

You can’t create the loop from scratch with a hole in it. You need to first make the outside curves and then the inside curves are added by editing the curevs post creation.


#12

Wondering how to edit do we have something like " Set filled region curves" …?? couldn’t find appropriate node


#13

I recall seeing something about this but I can’t find it now. Out of curiosity, what is your end goal here? Looks like it might be masking for interior elevations. I’ve done simiar by creating a large C by removing one side of both the inner and outer loop and closing the gaps with two angled lines. I edited these manually, but you could try and automate the edit as shown here:


#14

No success yet…! couldn’t extract model curve out of filled region,returns empty…!
I doubt the lines in filled region aren’t called model curve because its inside a annotation family or something like that…?

whats the API command for edit boundary?