FactoryTalk View SE - VBA - How to Access Object Properties & Animations?

Grendizer

Member
Join Date
Apr 2012
Location
Toronto
Posts
88
Hey all,

Simple question (and hopefully a simple answer), I have an object, example Polygon1, in a screen. I want to access the object's attributes (color, size, position, ...) using VBA in that screen. How can I do that? What is the syntax to do that?

Also, can I add animation through VBA on the object?

Thanks!!
 
Last edited:
Open the FactoryTalk View Site Edition help file and look for a theme named Object models in FactoryTalk View Site Edition. You will find there all the objects used in FTVSE and the available properties and methods (+ code example).

** Rockwell Softare > FactoryTalk View > User Documentation > FActoryTalk View Site Edition help
 
Thanks man, I'll open that.

Btw, I have to Right Click on the Object and select "ExposeToVba". This way, I can see the object through VBA :D. That was my initial problem. I couldn't see the object.
 

Similar Topics

I'm creating an HMI that has a recipe with 288 data point. It has 3 pieces of data for 96 segments. I need help with VBA code to copy all 288...
Replies
0
Views
138
Hi, Can someone guide me through how to use FactoryTalk SE VB script to open communication with SQL Server? which command I can use? Are there...
Replies
2
Views
2,286
Hello group, I have been migrating a project from RSView 32 V7.6 to FactoryTalk View SE Local Station V12 over the last couple of days. All told...
Replies
0
Views
998
For trend charts, I can use an ActiveX Calendar control to select a date on a trend using the following code where "Trend" is the name of the...
Replies
2
Views
1,578
Anyone know how to change the mouse icon to something else using VBA? It looks like it can be done with VBA forms and based on the object the...
Replies
0
Views
2,210
Back
Top Bottom