Ken Posted April 18, 2010 Share Posted April 18, 2010 I don't dive into VS too often. Now I'm thinking of creating a script that can somehow place a textblock on the floor plan that reflects a PIO window's overall width and height. Click on PIO then click on spot to place text block something or other. Is GetPluginInfo the proper call function to build this around? (Isn't there already some third party add-on that does this?) Quote Link to comment
mike m oz Posted April 19, 2010 Share Posted April 19, 2010 Buy Windoor - showing width and height is one of its options. Quote Link to comment
Pat Stanford Posted April 19, 2010 Share Posted April 19, 2010 No, GetPluginInfo is used inside of the PIO to find out information about itself. It sounds like you want to get information about a PIO that has already been placed in the drawing. To do this you need to get a handle to the object (either by selection of by something like GetPickObject). Then check to make sure it has a Window record (meaning it is a Window PIO). Then read the data from that record and create a text object. If you want to actually like the two objects so that when you change the window the hight/width automatically update, you will need to do a lot more work. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.