Skip to content

Commit

Permalink
update some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
infeeeee committed Sep 17, 2020
1 parent 87d2ff3 commit 260e889
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions revitAddinDisabler.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,16 @@ function selectoption(version, tabl, data, pathvis = false) {
}
})
}

/**
* change addin to disabled or enabled
* @param {string} version Revit version
* @param {number} addinnr Number of addin in the list
* @param {Array} fullobj All addins as objects
* @param {*} forcedStatus "enabled"|"disabled"|false: force enable/disable all
* @param {boolean} last Last element in enable/disable all
*/
function chAddin(version, addinnr, fullobj, forcedStatus, last) {
//change to disabled or enabled
//version: revitversion
//addinnr: number of addin in the list
//fullobj: all addins as objects
//forcedStatus: "enabled"|"disabled"|false: force for enable/disable all
//last: boolean: last element in enable/disable all

var currObj = fullobj[addinnr]
var np
var targetStatus
Expand Down

0 comments on commit 260e889

Please sign in to comment.