Message 1 of 4
[urgent] How clone wall with curve locked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
In revit , When i clone a wall ,it work good.
But this code i observe.
if (true) { var lc = wallClone.Location as LocationCurve; //debug XYZ l1 = lc.Curve.GetEndPoint(0); XYZ l2 = lc.Curve.GetEndPoint(1); l1 = null; } doc.Regenerate(); if (true) { var lc = wallClone.Location as LocationCurve; //debug XYZ l3 = lc.Curve.GetEndPoint(0); XYZ l4 = lc.Curve.GetEndPoint(1); l3 = null; }
THEN ,
i observe that l1 different from l3 and l2 different from l4.
Why ?
How lock the curve wall for avoiding regenerate ?
Thank.