Skip to content

Added ScaleFactor property to WorkspaceModel and corresponding WorkspaceEvent#6967

Merged
aparajit-pratap merged 3 commits intoDynamoDS:masterfrom
aparajit-pratap:asmScaling
Aug 4, 2016
Merged

Added ScaleFactor property to WorkspaceModel and corresponding WorkspaceEvent#6967
aparajit-pratap merged 3 commits intoDynamoDS:masterfrom
aparajit-pratap:asmScaling

Conversation

@aparajit-pratap
Copy link
Contributor

@aparajit-pratap aparajit-pratap commented Aug 1, 2016

Purpose

This PR is for MAGN-10468 to subscribe to workspace events in Dynamo from external libraries like ProtoGeometry and pass on the scaling factor set in the Dynamo UI.

This is necessary for the UI task to prompt the user for the geometry scaling factor and setting it in the DYN file .

Declarations

Check these if you believe they are true

  • The code base is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.

Reviewers

@ellensi

/// <summary>
/// An event raised when workspace ScaleFactor setting is changed.
/// </summary>
/// <param name="scaleFactor"></param>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the XML comments here should have been intended for the public event instead of the internal method.
And it would be good if we do not introduce new empty lines in this PR. Thanks @aparajit-pratap! 😄

@ellensi ellensi added the LGTM label Aug 3, 2016
@aparajit-pratap
Copy link
Contributor Author

Done, thanks @ellensi for reviewing this.

@aparajit-pratap aparajit-pratap merged commit e07ce09 into DynamoDS:master Aug 4, 2016
@aparajit-pratap aparajit-pratap mentioned this pull request Jan 10, 2017
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants