Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
From the Revit UI I can align a point with a slanted reference and lock it, as I show in the image sequence, however from the API I have not been able to create the constraint, the error is 'The two references are not geometrically aligned so the Alignment cannot be created.
Parameter name: reference2'
I created the reference2 variable with ParseFromStableRepresentation from GetEndPointReference(0).ConvertToStableRepresentation(doc), the stable String is the same as what RevitLookup shows when I check the constraint from the user interface, but it doesn't work from the API.
What could be the error?
Inclined reference
Point
Constraint
Mauricio Jorquera
Solved! Go to Solution.
Developer Advocacy and Support +