Pointfeature data

Hello!
I,ve made code which helps me select points from 3d, extract coordinates of them and write ti the file.
When i select by clicking each point code returns me PointFeature and i have problem with that type:
When i trying to get location.x or y/z of pointfeature it returns me fail: feature has no origin.
Question: how to get coordinates xyz from the object?
Or maybe possible to convert it to nxopenpoint object where i can easily can do it??
Please help

Thanks
E

If you have a reference to a point feature, you can use the .GetEntities method to get the point object.

Alternately, if you don't want the point feature returned, it would be better to adjust your selection code so that the point object itself is returned instead of the point feature.

I copef with that another way:
I settled my selection function by selecttaggedObject, which returns me tag of the object (both type of the object - Point and PointFeature, have mutial tag)
It allows me convert this tag to object type what i need.
Therefore each tag i convert to NXOpen type.
In that instance i can easily get coordinates!

Thanks a lot for your proposal as well!

Thanks
E

thanks
E