-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a commandLine flag for specifying geometryLib path #9949
Conversation
remove RSA (need to use flag) add flag for passing ASM path to command line args add overload to use flag when present to sandbox,cli,cliwpf
Does this version include the recursive product lookup or are you going to put that back in by (revert*4)ing the other PR? |
this PR includes the recursive product lookup, will have to make sure it keeps it when cherry picking. |
refactor for testing modify docs from review
PTAL - this is ready for another review - tested by starting sandbox from a random folder full of asm binaries and made sure asm worked and was loaded from there. See image above. |
sandbox should still start even if path is invalid asm path
all tests pass on self serve. |
A few comments then LGTM |
LGTM |
add flag for passing ASM path to command line args
add overload to use flag when present to sandbox, cli, cliwpf
Purpose
Attempt to allow integrators to use DynamoSandbox without requiring potentially slow recursive file search on the users system.
If this PR is merged the consequences are:
sandbox daily builds will not load on applications which do not have ASM in their root directory - this is the same behavior as 2.3 (even if they are added to the list to search for)will need to usecan use a command line flag --gp
to pass the geometryPath to sandbox to have it skip searching and load that directly.a thought:
to enable the most flexible solution - we can keep the recursive loading but move our tests and other integrators to use the command line flag (or preload option) to avoid searching - for example - we can modify our tests to stop geometry library searching and instead use this same mechanism to load the geometry library from a known a specific location.This will enable us to keep the slow searching behavior for daily build users but skip it for integrators and tests...
This PR now simply adds the commandLineFlag and keeps the behavior @aparajit-pratap added. So both can used for most flexibility depending on user type.
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@QilongTang
@aparajit-pratap
FYIs
@ColinDayOrg