Skip to main content

ModelCenter Remote Execution Java API 2026 R1

Interface: IPHXFormat

Last update: 22.06.2026

Package: com.phoenix_int.aserver.types

All Known Implementing Classes:


Declaration

public interface IPHXFormat

Interface for variables that support formats.

Example usage:

IPHXType var = wrapper.getVariable("myVar");
if (var instanceof IPHXFormat)
{
    ((IPHXFormat)var).setFormat("0.0");
}

Method Summary

Modifier and Type Method and Description
java.lang.String getFormat()
Get the format string for the variable
boolean hasFormat()
Whether or not the variable has a format
void setFormat(java.lang.String format)
Set the format string for the variable

Method Detail

getFormat

java.lang.String getFormat()

Get the format string for the variable

Returns:

  • format string

hasFormat

boolean hasFormat()

Whether or not the variable has a format

Returns:

  • true if variable has a format

setFormat

void setFormat(java.lang.String format)

Set the format string for the variable

Parameters:

  • format - format string

Connect with Ansys