Message 1 of 21
Create Dimension: Get references to FamilyInstances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I’m trying to programmatically place a dimension on some family Instances in a section view. Let’s assume, that I have some rectangular boxes placed in a wall. The Insertion point of such a box is in its centre.
I want to place a dimension with references to the origins of each box. I know that I can place a dimension using the “doc.Create.NewDimension” method. But I don’t know how to get the correct reference to the centre of the box. When I place the dimensions manually in the Revit model, I can select the reference planes of the centre of the box, but how do I get them using the API?
Any help would be appreciated!