# Dumb question, is there a way to access memory address from pointers natively?

**URL:** <https://forum.inductiveautomation.com/t/dumb-question-is-there-a-way-to-access-memory-address-from-pointers-natively/117949>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting\
**Created:** [November 24, 2026, 3:10pm UTC](https://forum.inductiveautomation.com/t/dumb-question-is-there-a-way-to-access-memory-address-from-pointers-natively/117949 "2026-11-24T15:10:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![travisaggiebrown](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/travisaggiebrown/32/85824_2.png) [@travisaggiebrown](https://forum.inductiveautomation.com/u/travisaggiebrown)\
**Post date:** [November 24, 2026, 3:10pm UTC](https://forum.inductiveautomation.com/t/dumb-question-is-there-a-way-to-access-memory-address-from-pointers-natively/117949/1 "2026-11-24T15:10:35Z")

</div>

I have a class instance I set to a custom property, I had read this wouldn't work but wanted to test it. it saves a string that gives a pointer to a memory address. I was wondering if there is any easy way to access the memory address so I could use the class instance.

---

<div class="post-metadata">

**Author:** ![Noah\_Burnette](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/noah_burnette/32/83777_2.png) [@Noah\_Burnette](https://forum.inductiveautomation.com/u/Noah_Burnette)\
**Post date:** [November 24, 2026, 3:29pm UTC](https://forum.inductiveautomation.com/t/dumb-question-is-there-a-way-to-access-memory-address-from-pointers-natively/117949/2 "2026-11-24T15:29:14Z")

</div>

Hey Travis,

Even if you _could_ do that, I probably wouldn't.

I would store the ` __dict__ ` in a property object and reconstruct it when you need to instantiate the class. This assumes your instance variables are primitives. If you are trying to store a more complex object you can define your own deconstruction. For perspective, the approach below usually fits most use cases.

Example:

```python

class SomeClass(object):
	
	
	def __init__ (self, value1, someValue):
		# type: (int, str) -> None
		self.value1 = value1
		self.someValue = someValue

someClass = SomeClass(1, "hello")
someClass. __dict__

# Using existing properties from perspective
formObjectProperty = {
		"value1": 123,
		"someValue":"test"
	}
	
anotherClass = SomeClass(**formObjectProperty)

anotherClass. __dict__

```

Output:

```python
{'value1': 1, 'someValue': 'hello'}
{'value1': 123, 'someValue': 'test'}

```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 24, 2026, 4:48pm UTC](https://forum.inductiveautomation.com/t/dumb-question-is-there-a-way-to-access-memory-address-from-pointers-natively/117949/3 "2026-11-24T16:48:39Z")

</div>

Since [we haven't yet done this first party](https://forum.inductiveautomation.com/t/ign-5244-using-class-instance-as-view-custom-object-property/53676), Phil implemented essentially what you're asking for in his integration toolkit module:

> [@Automation Professionals' Integration Toolkit Module](https://forum.inductiveautomation.com/t/automation-professionals-integration-toolkit-module/74934):
>
> Automation Professionals is pleased to announce the immediately availability of a major upgrade to its free Simulation Aids Integration Toolkit module. The new feature justifying the "major upgrade" language is the implementation of eleven thirty-one new expression functions which use iteration to accomplish complex transforms of datasets and lists, to or from other datasets and lists, applying filtering, ordering, and computed new columns along the way. While there are certain operations that…

> **[Perspective-Related Functions - Expression-Scripting Connectors - Integration...](https://www.automation-pros.com/toolkit/doc/scripting.html#perspective-related-functions)**
>
> Expression bindings and jython scripting have only one connector in the general case, Ignition’s native runScript() expression function. In Perspective, scripting transforms can also be tied to expressions. Integration Toolkit adds several additional...

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 24, 2026, 6:54pm UTC](https://forum.inductiveautomation.com/t/dumb-question-is-there-a-way-to-access-memory-address-from-pointers-natively/117949/4 "2026-11-24T18:54:31Z")

</div>

Let me clarify that the functions **do not** make the object at a stringified address accessible. Especially since jython and java do not provide actual addresses in stringification--those are arbitrary identity values.

The Perspective session/page/view functions give you a related dictionary into which you can put arbitrary java/jython objects, and they will not be stringified. And the dictionary will be cleaned up when the session/page/view life cycle ends.
