Skip to content

Conversation

@edkilday
Copy link
Collaborator

All javascript to call functions which have optional arguments with default values. For instance where z is an optional argument.

obj.method(z);
obj.method();

The XML interface definition would be as follows.

<method name="method"
  <param name="z" optional="true" defaultvalue="10"

@martinweismann martinweismann merged commit 38bbc57 into Autodesk:JSImpl Jul 25, 2023
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