Rectangle.ByWidthLength

Hello,

can someone explain why 100x100 rectangle cannot be drawn all of a sudden (it worked just fine before, I have changed nothing) but random dimensions are fine?

What are the results of your two of nodes?

Which nodes do you mean?

The two nodes leading into the Rectangle.ByWidthLength node. :slight_smile:

That is a double. For input of 100x100mm the two if nodes would be feeding 0.1x0.1 in drawing units to the rectangle node.

The if nodes just change what conversion should take place. from milimeters or inches to meters which is the drawing unit

Need to see the data preview in the failing node as I cannot reproduce the issue.

Here is what goes in:

Also, here is the .dyn file.
GAL2023-SP-3DSolid_From_3DPoly_001.dyn (74.7 KB)

What is your geometry scaling set to? It appears that the rectangle is attempting to be drawn with overlapping points, meaning the decimals are being removed… Perhaps extra large /large geometry scaling?

1 Like

I have geometry scaling set up to Large as I work in the UK national grid coordinate system

EDIT: I have now realised that Medium Geometry Scaling allows me to properly draw the rectangle, but Object.Geometry will only work when Large Geometry Scaling is selected.

No, the geometry just shows a warning in medium; never change the scaling in a Civil 3D context.

3 Likes

Ohhhh. It works now, thank you!

1 Like