Hi ,
i need to get cross section values from the HM.
<?xml version="1.0" encoding="UTF-8"?>
For your reference i attached the image,
from this image we can understand there details of the selected crosssection.
Used code to get the details
Set SecID '320014'
set SectNam [hm_getcollectorname crosssections $SectID] ##This giving the name of the Cross Section ##
But while trying to get the midpointx ,midpointy ,midpointz its always giving 0
set MidX [hm_getentityvalue crosssections $SectID midpointx 0]
set MidY [hm_getentityvalue crosssections $SectID midpointy 0]
set MidZ [hm_getentityvalue crosssections $SectID midpointz 0]
set MidNode [hm_getentityvalue crosssections $SectID basenode.id 0]
set NormalX [hm_getentityvalue crosssections $SectID normalx 0]
set NormalY [hm_getentityvalue crosssections $SectID normaly 0]
set NormalZ [hm_getentityvalue crosssections $SectID normalz 0]
for this i getting zero for all.
Kindly help me to solve this issue
Thanks in Advance
Regards
Suresh Kumar V