Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1a7bea9227 | |||
| 9c4007d55b |
+4
@@ -83,6 +83,10 @@ public class ToHostSettingsManager : IToHostSettingsManager
|
||||
|
||||
switch (referencePointType)
|
||||
{
|
||||
case ReceiveReferencePointType.SharedLocation:
|
||||
referencePointTransform = uiApplication.ActiveUIDocument.Document.ActiveProjectLocation.GetTransform();
|
||||
break;
|
||||
|
||||
// note that the project base (ui) rotation is registered on the survey pt, not on the base point
|
||||
case ReceiveReferencePointType.ProjectBase:
|
||||
if (projectPoint is not null)
|
||||
|
||||
+3
@@ -201,6 +201,9 @@ public class ToSpeckleSettingsManager(
|
||||
|
||||
switch (referencePointType)
|
||||
{
|
||||
case ReferencePointType.SharedLocation:
|
||||
referencePointTransform = document.ActiveProjectLocation.GetTransform();
|
||||
break;
|
||||
// note that the project base (ui) rotation is registered on the survey pt, not on the base point
|
||||
case ReferencePointType.ProjectBase:
|
||||
if (projectPoint is not null)
|
||||
|
||||
+2
-1
@@ -5,5 +5,6 @@ public enum ReceiveReferencePointType
|
||||
Source,
|
||||
InternalOrigin,
|
||||
ProjectBase,
|
||||
Survey
|
||||
Survey,
|
||||
SharedLocation
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@ public enum ReferencePointType
|
||||
{
|
||||
InternalOrigin,
|
||||
ProjectBase,
|
||||
Survey
|
||||
Survey,
|
||||
SharedLocation
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user