Re: [OpendTect_Users] Automatic 2D seismic data import with plugin

9 views
Skip to first unread message

Paul de Groot

unread,
Dec 29, 2025, 4:59:04 PM (10 days ago) 12/29/25
to us...@opendtect.org
Hi Artur,

OpendTect supports a Command Driver (Utilities -> Tools menu) for recording workflows and rerunning them. Recorded scripts can be edited, to automate repetitive work. Below is the window for recording and running scripts. 

image.png
And here is the script editor window:
image.png

More info can be found in the User Doc Chapter 9.2.3 Command Driver and the Command Driver Manual.

I hope this is what you need.

Best regards,

Paul.



--
Paul de Groot
Special Adviser


-----------------------------------------------------------------------------------------------------------------------  
dGB Earth Sciences
Phone:+31 53 4315155
E-mail:paul.d...@dgbes.com
Internet:dgbes.com 
----------------------------------------------------------------------------------------------------------------------- 


On Mon, Dec 29, 2025 at 7:53 PM Artur <artursantos...@gmail.com> wrote:
I am developing a plugin that needs to automatically import 2D seismic data (i'm working with binary files) and make it immediately available for visualization. The manual process would typically be Import -> Seismic Data -> Simple File -> 2D -> fill in the fields. I'd like to know if there's a way to do this process in code. I can get the necessary data from my plugin; I just need to know if there's a way to do this process through code and then visualize the Line after creating it.

Thank you in advance.

--
You received this message because you are subscribed to the Google Groups "OpendTect Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opendtect.org.
To view this discussion visit https://groups.google.com/a/opendtect.org/d/msgid/users/75a4828b-7725-449b-a437-42cd900e3174n%40opendtect.org.

Arnaud Huck

unread,
Dec 30, 2025, 5:10:26 AM (9 days ago) 12/30/25
to us...@opendtect.org, Artur, OpendTect Developers
Dear Artur,

If you are developing your own C++ plugin, you can create a dedicated dialog to do the work you describe. This dialog would be an alternative to the free dialog accessible from Import -> Seismic Data -> Simple File -> 2D as you mention, with a different GUI.
This can be done without doubt. Then you plugin can create its own access points for the users:
1- Another menu entry
2- A toolbar action (preferably in your own dedicated toolbar)

Examples on how to create such dialogs and access points can be found in the programming tutorial:

Please also note there is a dedicated email address for such requests, for developers: devel...@opendtect.org
Let me know if you have more questions.

Best regards,
Arnaud Huck, MSc.
Chief Technical Officer

-----------------------------------------------------------------------------------------------------------------------  
dGB Earth Sciences
Phone:+31 53 4315155
E-mail:arnau...@dgbes.com
Internet:dgbes.com 
-----------------------------------------------------------------------------------------------------------------------


Reply all
Reply to author
Forward
0 new messages