    

 ## On this page

  

 

 # DHVariable

 Last update: 30.07.2026 

constructor(id: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))

Connects this Java object to the specified session of ModelCenter

#### Parameters

idA pointer to the COM interface. This constructor will add a COM reference. The reference will be removed when this object is finalized (or closed)constructor(id: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), addRef: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))