Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: v8i VBA AECOsim SS5 - Export to IFC

$
0
0
Thanks for that Jon, really very much appreciated.

I shall test it and see how I get on.

I did also get a very speedy response from Select Support which just added one line to the recorded macro:

_____________

Sub Macro1()
Dim startPoint As Point3d
Dim point As Point3d, point2 As Point3d
Dim lngTemp As Long

Dim modalHandler As New Macro1ModalHandler
AddModalDialogEventsHandler modalHandler

' The following statement opens modal dialog "FBX Export Settings"

' Start a command
CadInputQueue.SendCommand "MDL KEYIN fbxexport dialog fbx"

CadInputQueue.SendCommand "export fbx" '*** this is the added line from Bentley support***

RemoveModalDialogEventsHandler modalHandler
CommandState.StartDefaultCommand
End Sub

__________________

This also works so may be of interest to you and others. I had tried things along this line but couldn't get the syntax right I think or had the line in the wrong module.

Thanks once again for your help.

Best Wishes,

Neil.

Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>