Create user notification.

Create user notification.

Tripler123
Advocate Advocate
1,223 Views
6 Replies
Message 1 of 7

Create user notification.

Tripler123
Advocate
Advocate

I was watching a video and I found myself with the very interesting surprise that an application created this type of notification. Some kind of reference to make this kind of notification.

 

Tripler123_0-1640817040271.png

 

0 Likes
Accepted solutions (1)
1,224 Views
6 Replies
Replies (6)
Message 2 of 7

RPTHOMAS108
Mentor
Mentor
Accepted solution

AdWindows perhaps...

 

211229a.png

Above just looks like someone is putting words in my mouth if I'm supposed to be the little blue person.

 

Anyway:

Dim Ri As New Autodesk.Internal.InfoCenter.ResultItem()
Ri.Title = "Hello I'm an AdWindows msg. If you are seeing this rather than an abrupt end to the Revit session you were in then it worked."
Ri.Group = "Group"
Ri.IsFavorite = True

Ri.Timestamp = Date.Now
Autodesk.Windows.ComponentManager.InfoCenterPaletteManager.ShowBalloon(Ri)

 

Message 3 of 7

RPTHOMAS108
Mentor
Mentor

See also:

The Building Coder: Using Balloon Tips in Revit (typepad.com)

 

Can also stick some buttons in one:

211229b.png

Only problem is if someone clicks on 'Don't show me this again' upon which time it adds an id to the registry presumably and you'll never see it again. I didn't make the buttons do anything I just put them in as an xaml fragment. Probably a more passive form of layout control would have been a better example.

 

Also note it isn't the user icon speaking anymore it is the question mark speaking (since a different overload is used).

 

Yet to get the shopping trolley to speak.

 

 

 

0 Likes
Message 4 of 7

Tripler123
Advocate
Advocate

@RPTHOMAS108 Thanks

0 Likes
Message 5 of 7

Tripler123
Advocate
Advocate

Hi @RPTHOMAS108 , it worked perfectly for me. Do you know where I can find more information about AdWindows?

0 Likes
Message 6 of 7

MiWolff
Advisor
Advisor

If you are still around @RPTHOMAS108 or @Tripler123 Where did you run this? Is it a macro? Is it a pseudo-journal-text file? Which version of Revit did you run it in?

0 Likes
Message 7 of 7

RPTHOMAS108
Mentor
Mentor

Since the post was late 2021 I assume the Revit Version would have been 2022.

 

The techniques used AdWindows it likely would have been done in a standard add-in.

 

Although the features of AdWindows are unsupported so it likely could have been run from anywhere regardless.

0 Likes