tamarindi Posted July 1, 2010 Share Posted July 1, 2010 We work with specific items that we want to build as 2d/3d objects, being able to control them through the OI pallet and then create report. How complicated it is to create a custom dialog for special symbols? I went through the plugin editor. And then realized i need to use vectorscript...... is there another way?? for no programmer....?? Quote Link to comment
Pat Stanford Posted July 1, 2010 Share Posted July 1, 2010 Vectorscript is the easiest way to write Plugin Objects (PIOs). Objects that take parameters from the Object Info Palette (OIP) and change size/shape/attributes based on that data. What kinds of objects do you need to draw and what do you need them to do? If it is change shape, you are probably stuck with having to do Vectorscript. It is is Text attached to the objects you could create symbols and do Link Text to Record. Let us know what you need and we will see what we can do to help. Quote Link to comment
tamarindi Posted July 1, 2010 Author Share Posted July 1, 2010 Hi Pat, We have different types of profiles - the PIO parameters should include popup menus like: type of profile shape height adjustment -> that is the main issue. It must be adjustable. price: per unit/per meter different panels: straight, curved, different heights finish type price: per unit/per meter To those we attach a record and then create quotation. In the plugin editor i entered most of the data, including definitions of menu types. But what is the next step? Thanks Quote Link to comment
Pat Stanford Posted July 1, 2010 Share Posted July 1, 2010 Your next step is to learn enough vectorscript to make routines to draw the objects. If it was a rectangle the code would be something like: rect(0,0,10,10); The 0,0, and 10,10 are the corners of the object. You would then need to replace those hard coded values with the values coming from your OIP data values. So if you had parameters of TopY,LeftX,BottomY and RightX it would look like: rect(pLeftX,pTopY,pRightX,pBottomY); The p in front of the name is required to get the editor to recognize it is a "Parameter" If you don't have any programming experience, I recommend you see if you can find a basic programming book on Pascal as that is the language Vectorscript is based on. You might be able to get a jump on what you are trying to do by drawing one of the objects in a new blank file and then Export as Vectorscript. Open that file in a text editor and look for the parts that actually draw the object(s). Ignore all the setup (fonts, classes, layers, etc.) code. You don't need any of that. You might want to consider trying to find someone to do the programming for you. It sounds like you have hundreds of hours of programming, even for someone who is already skilled in VS. If you don't have that skill and need to learn the basics it might be four times as long. Good Luck Quote Link to comment
tamarindi Posted July 3, 2010 Author Share Posted July 3, 2010 Thanks Pat, I see it is more complicated then i realized... I'm not sure there is any one here in Israel that is familiar with VS. I guess the easiest solution for now will be keep working with symbols and data to create reports. Quote Link to comment
Pat Stanford Posted July 5, 2010 Share Posted July 5, 2010 Yes, unfortunately it is more complicated. If it is something you really need, there are people who can work with you on this remotely. It is easier face to face, but not required. It is not likely to be cheap though. Quote Link to comment
tamarindi Posted July 5, 2010 Author Share Posted July 5, 2010 Thanks anyway :-) 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.