04-09-2018 05:00 AM
Hi,
I've configured a form in GMSC 2016, which contains GE_NEWPOLYGON geometry action. How can I run this action?
Solved! Go to Solution.
04-09-2018 11:46 AM - edited 04-10-2018 07:39 AM
Hi mzebrows,
A FormAction button is required to use the Geometry Action.
here is example I use to capture a new point geometry
IG.captureGeometry()
and how it looks in FormSettings .xml
<FormAction name="CaptureGeometry" label="CaptureGeometry" editable="true" visible="true" action="SCRIPT[IG.captureGeometry()]" />
here is a link to more information on this and more ways to interact with GMSC directly using script actions
04-10-2018 05:12 AM - edited 04-10-2018 05:12 AM
Ok, but what the MyDigitize() function is doing?
04-10-2018 07:41 AM
Yes of course this should be explained. I used too personal an example in my previous reply.
I have updated now the reply to reflect the default way to accomplish this. Please see that post for the information I provide.
04-10-2018 09:52 AM
Ok, Now I understand.
But is it possible to call creating/editing geometry without a form that have Table field filled?
I mean is it possible to create an action that calls geometry operations without form?
04-10-2018 11:34 AM
As far as I know this is not possible.
You can have a form that doesn't have visible fields (ID field must be present, but can be hidden) and only the configured FormAction button, but this FormAction has to be defined in the form.
04-10-2018 12:48 PM - edited 04-10-2018 12:48 PM
Hi,
it is possible even if not recommended, please check this post. You may check if database redlinining is relevant to what you want to achieve.
HTH,
Stefano