Opening Form during PromptForFamilyInstancePlacement

Opening Form during PromptForFamilyInstancePlacement

devX6MRR
Contributor Contributor
269 Views
1 Reply
Message 1 of 2

Opening Form during PromptForFamilyInstancePlacement

devX6MRR
Contributor
Contributor

Hi everyone,

I'm trying to open a window with some option during the PromptForFamilyInstancePlcement.

I know that it's possible only if i start the window showing before the calling of the method.

 

The problem is the first time i show the window the command works fine, but if have a second call shortly after the first one the command exits without starting the prompt.

Debugging my code i figured out it's the window the problem, without it i don't have any problems, but i can't find out the reason of this behaviour.

 

So you have any idea about it?

 

Thanks

Giorgio

0 Likes
270 Views
1 Reply
Reply (1)
Message 2 of 2

Mustafa.Salaheldin
Collaborator
Collaborator

This is probably because you just hide the window, you have to kill it, use window.dispose or window.close.

 

If this reply satisfies your need please mark it as an answer.


¯\_(ツ)_/¯
Let it work like a charm.

Mustafa Salaheldin


EESignature




Digital Integration Manager, DuPod

Facebook | Twitter | LinkedIn

0 Likes