Message 1 of 5
Alignment between 2 reference planes or between the family and a reference plane

Not applicable
03-17-2015
03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to align two reference planes ,
First reference plane is the work plane for the family , I need to align this to another reference plane , so if I move any of these planes the family needs to move along with it, I tried the below piece of code, but got the following error :
doc.FamilyCreate.NewAlignment(view,Plane1.Reference, Plane2.Reference);
Exception : One of the conditions for the inputs was not satisfied. Consult the documentation for requirements for each argument.
Could you please help me in this.
Plane1 : IsReference : Front
Plane2 : IsReference : Weak Reference