- HyWorksApi Commands
- General
- closeHyperWorks():
- closeLibrary(libraryPath):
- connectToHyWorks(host=socket.gethostname(), register=getpass.getuser(), timeout=120000, indexid=1None):
- disableHyWorksApiExceptions():
- enableHyWorksApiExceptions():
- getPropertygetCurrentDesign(key):
- getProperties():
- setPropertygetProperty(key, value, save):
- getVersion(long=False) :
- startHyperWorksopenLibrary(stdout=None, stderr=NonelibraryPath, visible=True):
- setProperty(key, value, save=False):
- startAndConnectHypersim(host=socket.gethostname(), register=getpass.getuser(), stdout=None, stderr=None, timeout=2500:
- startHyperWorks(stdout=None, stderr=None):
- Design
- closeDesign(designPath):
- disconnectDesign(designPath):displayConnections):
- findMinimalStepSize(timeout, overrunsThreshold: int, nCores=100, startingTimeStep=1e-6, jump=1e-6):
- getAllComponentDescriptions():
- getAllComponentParameters(compName):
- getAllComponentSensors(compName):
- getAllDevicesNames():
- getDesignPrefs():
- importEDD(eddFilePath, doConnections):
- importPSCAD(filePath, onlyDll, removeNotConnectedBuses=False):
- importPSSE(filePath, replaceMachines=False, groupMachinesWithControls=True):
- importPowerFactory(filePath, mode=0):
- newDesign(designFilePath=None):
- openDesign(designPath):
- recheckPorts():
- saveDesign():
- saveDesignAs(fileName):
- updateEDD(eddFilePath, doConnections):
- Device
- activateObservables(deviceName, observables):
- addControlSignaladdBus1ph(signalName, points, hitCheck=False, subcircuit=None):addBus1ph
- addBus3ph(signalName, points, hitCheck=False, subcircuit=None):addBus3ph
- addControlSignal(signalName, points, hitCheck=False, subcircuit=None):
- addDevice(libName, blocName, coordX=0, coordY=0, page=1, subcircuit=None, name=None):
- addPinsToDevice(name, cardinalPoint, function, pins, redraw=False):
- connectBundleToBundle(blocA, signalListA, blocB, signalListB):connectDevices
- connectDeviceToBus1ph(blocAdeviceName, pinA, blocB, pinB, isThreePhaseAndPowerFlexible, signalName=NonepinName, signalName):
- connectDeviceToControlSignalconnectDeviceToBus3ph(deviceName, pinName, signalName):
- connectDeviceToBus1phconnectDeviceToControlSignal(deviceName, pinName, signalName):connectDeviceToBus3ph(deviceName, pinName, signalName
- connectDevices(blocA, pinA, blocB, pinB, isThreePhaseAndPowerFlexible, signalName=None):
- connectPinToBundle(blocA, pinA, blocB, signalBsignalListB):
- createSubCircuit(name, type=NonesubType, coordX=0, coordY=0, page=1):
- disconnectPin(deviceName, pinName, removeAllConnections=False):
- displayComponent(componentName=””, printAttributes=True, printSignals=True, printConnectors=True:
- displayConnections(componentName):
- flipHorizontallyDevice(deviceName, keepConnections=True):
- flipVerticallyDevice(deviceName, keepConnections=True):
- getAllDevicesNamesgetComponentParameter(compName, compParam):
- getCoordinates(deviceName, pinName=None):
- getComponentParametergetDeviceBundleChildPins(compNamedeviceName, compParampinName):getDeviceBundleChildPins
- getDeviceBundlePins(deviceName, pinName):getDeviceBundlePins
- getDevicePinTypes(deviceName: str, pinNames: list):
- importUCM(defFilePath):
- includeDevice(deviceName, include):
- removeDevice(deviceName):
- renameDevice(oldDeviceName, newDeviceName):
- renameSignal(oldName, newName, visible=True):
- rotateLeftDevice(deviceName, keepConnections=True):
- rotateRightDevice(deviceName, keepConnections=True):
- setComponentParameter(compName, compParam, value):
- setComponentParameters(compNames, compParams, values):
- setDeviceFillColor(name, colorHexRGB):
- setDeviceLineColor(name, colorHexRGB):
- setDevicesNameVisibility(deviceList, isVisible):
- setPinPhaseNumber(deviceName, pinName, value):
- setSignalLineColor(namesignalName, colorHexRGB):
- HyWorksApiGRPC.setSignalLineWidth(namesignalName, width):setDevicesNameVisibility(deviceList, isVisible
- setSubcircuitScripts(compName, initialValues, rules, variablesToTransmit, evaluateOnly=False):
- setPinPhaseNumberunbindUCMFromLibrary(deviceName, pinName, value):
- updateUCM(deviceName, ucmPath=None):
- Sensor
- editSensor(blocName, sensorName, IOType=None, IONumber=None, base=None, unit=None):
- getLastSensorValues(sensorNames):
- getSensorInfo(blocName, sensorName, key):
- getSensorsValues(sensorNames: List[str], timeLength, timeStart=0, acquisitionRate=Non:
- loadSensors(filePath):
- selectAllSensors(blocName):
- selectSensor(blocName, sensorName, selected=True):
- setSensorDataLogger(blocName, sensorName, record, groupName, trigger):
- setSensorDataPoint(blocName, sensorName, exchangerTag, dataPointName, dataPointIdx):selectSensor(blocName, sensorName, selected=True):
- Settings
- Simulation
- getMonitoringAllValues():
- getMonitoringValue(monitorName):getLastSensorValues(sensorNames
- getPreparationTimings(modelPath: str = None) :
- getSimulationCoreTimings(modelPath: str = None) :
- getSimulationTime():
- getSimulationTimings(modelPath: str = None) :
- loadSnapshot():
- resetMonitoring(cpuList):
- resetPerfIndic(cpuList):
- resetTiming(cpuList):
- simtrig(sync):
- startMonitoring():
- startSim():
- stopMonitoring():
- stopSim():
- takeSnapshot():
- Target
- addTargetToManager(targetHostName):
- diagnosticTarget(targetHostName):
- getAllTargetsName():
- getCurrentVersionOnTarget(targetHostName):
- getInstalledVersionOnTarget(targetHostName):
- installHypersimOnTarget(targetHostName):
- isTargetReady(targetHostName):
- removeTargetFromManager(targetHostName):
- switchVersionOnTarget(targetHostName, switchToVersion):
- General
- ScopeViewApi Commands
- General
- ScopeViewApiGRPC.close():ScopeViewApiGRPC.
- connectToScopeViewRemote():ScopeViewApiGRPC.combineComtrade(inputs, output_file, parametersid=None):
- ScopeViewApiGRPC.disableScopeViewApiExceptions():ScopeViewApiGRPC
- .enableScopeViewApiExceptions():
- ScopeViewApiGRPC.openScopeView():
- Acquisition
- ScopeViewApiGRPC.exportToPDFevalAllExpressions(filePath):ScopeViewApiGRPC.
- exportToFile(filePathfile_name):
- ScopeViewApiGRPC.evalAllExpressions(exportToPDF(file_name):
- ScopeViewApiGRPC.getCont():ScopeViewApiGRPC
- .getExpressions():
- ScopeViewApiGRPC.getNumAcq():ScopeViewApiGRPC
- .getNumData():
- ScopeViewApiGRPC.getSamplingRate():ScopeViewApiGRPC
- .getStartTime():
- ScopeViewApiGRPC.getTimeLength():
- ScopeViewApiGRPC.startAcquisition():
- ScopeViewApiGRPC.stopAcquisition():
- ScopeViewApiGRPC.pauseAcquisition():
- ScopeViewApiGRPC.setCont(state):
- ScopeViewApiGRPC.setNumAcq(numAcq):
- ScopeViewApiGRPC.setSamplingRate(rate):
- ScopeViewApiGRPC.setStartTime(time):
- ScopeViewApiGRPC.setTimeLength(time):
- ScopeViewApiGRPC.setSync(state):
- ScopeViewApiGRPC.setTrig(stategetTimeLength():
- pauseAcquisition():
- setCont(value):
- setNumAcq(value):
- setSamplingRate(value):
- setStartTime(value):
- setSync(value):
- setTimeLength(value):
- setTrig(value):
- startAcquisition():
- stopAcquisition():
- Comtrade
- calculateComtradeSignalDelay(files, signal_pairs=None):
- combineComtrade(inputs, output_file, parameters=None, selected_signals: Dict[str, List[str]] = None):
- convertComtradeRevisionYear(filepath, version, new_filepath=None):
- findSynchronizableComtradeSignalPairs(files):
- getCombineComtradeParameters(files=None) :
- getComtradeSignals(files) :
- Data Source
- ScopeViewApiGRPC.loadDataSource(strURIuri):ScopeViewApiGRPC.
- loadFileDataSource(filePathfile_name):
- ScopeViewApiGRPC.reloadAllDataSources():ScopeViewApiGRPC
- .removeAllDataSources():
- ScopeViewApiGRPC.replaceDataSource(oldDataSourceLabel, newDataSourceLocation):
- ScopeViewApiGRPC.setDataSourceParameter(dataSourceLabel, parameter, value):
- Template
- ScopeViewApiGRPC.executeTemplate(filePath):
- ScopeViewApiGRPC.importTemplate(filePathaddExpression(expression):
- addTemplateFunction(function, signals, page, visible):
- addTemplateSignals(signals, page, visible):
- executeTemplate(file_name):
- getSignal(signal_name, data_source_label):
- getTemplateDataSources():
- importTemplate(file_name, appendNewPage):
- ScopeViewApiGRPC.loadTemplate(filePathfile_name):
- ScopeViewApiGRPC.newTemplate():ScopeViewApiGRPC
- .removeAllPages():ScopeViewApiGRPC.saveTemplate(filePath
- removeTemplateFunction(function, page, visible):
- removeTemplateSignals(signals, page, visible):
- saveTemplate(file_name):
- General
Page Comparison
General
Content
Integrations
App links