Message 1 of 3
Invalid face References after Regenerate.
Not applicable
11-05-2015
12:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Has anyone else had the problem where a valid PlanarFace of a wall becomes unusable for family creation after calling Document.Regenerate () within a dynamic updater. If I pass in a reference to the face while creating a line-based family i get an error that says the instance can't be created on this face. If i just pass in the face itself i get a message saying that the geometry object doesn't contain a reference and that i should set compute references when extracting faces from an element. The thing is, i did use compute references and have what look to be valid references. I even tried creating a stable reference string before calling regenerate and then parse the stable reference string to recreate the reference after the regen then pass that into the creation method and still get the same error. If i remove the regen call the problem goes away.