03-28-2013, 04:01 PM
I understand now.
You can achieve that with the following:
- first you need to disable LinesUpdater - this can be done in the class constructor with:
Ab3d.Utilities.LinesUpdater.Instance.UpdateMode = Ab3d.Common.Utilities.LinesUpdaterMode.Never;
- than after you added your 3D lines you need to manually refresh the camera and LinesUpdater. For example if you have defined your lines in XAML, than you can add the following code to OnLoad event handler:
Camera1.Refresh();
Ab3d.Utilities.LinesUpdater.Instance.Refresh();
Note that this will not work if called from constructor - you need to call this after (or in) Loaded event.
I hope that this is what you are looking for - note that if the camera will be changed after that the lines will look strange - they are created for specific camera angle.
You can achieve that with the following:
- first you need to disable LinesUpdater - this can be done in the class constructor with:
Ab3d.Utilities.LinesUpdater.Instance.UpdateMode = Ab3d.Common.Utilities.LinesUpdaterMode.Never;
- than after you added your 3D lines you need to manually refresh the camera and LinesUpdater. For example if you have defined your lines in XAML, than you can add the following code to OnLoad event handler:
Camera1.Refresh();
Ab3d.Utilities.LinesUpdater.Instance.Refresh();
Note that this will not work if called from constructor - you need to call this after (or in) Loaded event.
I hope that this is what you are looking for - note that if the camera will be changed after that the lines will look strange - they are created for specific camera angle.
Andrej Benedik

