API Documentation > Interfaces > Interface WUnit
Interface WUnit

package com.ptc.wfc.wfcModel;

public interface
WUnit
extends
com.ptc.pfc.pfcUnits.Unit


Description
Provides the info about the Unit.
Method Summary
Calculates conversion factors from one ProUnititem to another; these can belong to the same model or two different models.
void
ModifyByExpression (String Path)
Modifies a derived unit.
Methods Inherited from Interface com.ptc.pfc.pfcObject.Child :
Methods Inherited from Interface com.ptc.pfc.pfcUnits.Unit :
Method Detail
ModifyByExpression
void
ModifyByExpression
(String Path)
Modifies a derived unit.
Exceptions thrown (but not limited to):
XToolkitCantModify - The unit cannot be modified because it is referenced from the principal system of units or it is referenced from ref_unit.
Manual References:
Parameters:
Path
The unit expression.
Returns:
CalculateUnitConversion
CalculateUnitConversion
(Unit Unit)
Calculates conversion factors from one ProUnititem to another; these can belong to the same model or two different models.
Manual References:
Parameters:
Unit
Returns:
Was this helpful?