Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8539

How to get dimensions for selected objects scaled to document units?

$
0
0

@chris.richards wrote:

How would I get the dimensions of a selected object which are scaled to the units set in the document?

So far I’ve got the selected objects with the code below:

    var filter = new ObjectEnumeratorSettings {SelectedObjectsFilter = true};
    var selectedObjects = RhinoDoc.ActiveDoc.Objects.FindByFilter(filter);

But now I’d like to iterate through the selectedObjects and get the length and width scaled to the documents units. The object may have curvature, so the length and width should be surface length and width.

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 8539

Trending Articles