Open Print Setup Dialog

Open Print Setup Dialog

jens.slofstra!
Enthusiast Enthusiast
425 Views
2 Replies
Message 1 of 3

Open Print Setup Dialog

jens.slofstra!
Enthusiast
Enthusiast

Hi everyone,

I have been trying to open the Print Setug Dialog via the API but so far no luck.

The dialog I try to show:

jensslofstra_0-1638187606612.png

 

To my knowlegde the printmanager does not offer to show this dialog.

Is this possible with the API or is this not incorporated?

0 Likes
Accepted solutions (2)
426 Views
2 Replies
Replies (2)
Message 2 of 3

Omar_Amen
Advocate
Advocate
Accepted solution

Hi @jens.slofstra! ,
may you try to post those postable commands:

pcc.png

 tell me if you need a code sample

0 Likes
Message 3 of 3

smarente1
Enthusiast
Enthusiast
Accepted solution
UIApplication uiapp = commandData.Application;
uiapp.PostCommand(RevitCommandId.LookupPostableCommandId(PostableCommand.Print));
0 Likes