- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi community,
I tried to create dimension between a grid and a void.
Steps:
1. Create ReferenceArray;
2. Create reference for grid;
3. Retrieve reference from void by GetReferenceByName. (I named few reference planes inside family editor, for example, "Left", "Right")
4. Append references.
5. Retrieve curve geometry from a line.
6. Document.NewDimension(current_view, line, ref_array, dimension_type)
But the dimension is not showing. When I query its ID, it always has negative value 304.8 mm (1 feet, internally).
I have setup a demo model with the void family inserted. See image below for the direction of grid and void. f => facing direction, h => hand direction. In this case, I used "Front" reference from the void. FaceFliped and HandFliped are both false, there was no mirroring or reflection. So I believe "Front" is the correct reference.
Appreciate any help on this.
Solved! Go to Solution.