Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Pi_

  1. yes, it is in the vectorscript Appendix, I discovered getobjectvariableint is gives the default break mode of the plugin, not the instance break mode. setobjectvariableint doesn't change anything (not the default value or the instance value) could it be it is only available for SDK plugins?
  2. I can't set the wall break mode from inside the script of a PIO that is inserted in a wall. SetObjectVariableInt(pioHandle,124,4) is not working altough getobjectvariableInt(pioHandle,124) gives me the right value is this a bug?
  3. Hi, has anyone noticed that sometimes when you add parameters to an existing PIO that old instances of the PIO have a 'corrupt' layout in the OIP. (newly pasted instances have the correct layout) The problem is mostly not situated around the position of the new parameter but elsewhere (old parameters 'disappear') I noticed this before and I always tried to avoid making new parameters to an existing PIO but on this project I need to. We have 12 vectorwork users all of them using this PIO, giving it a new name would mess up our workflow. the PIO is event enabled and has custom buttons. recompiling the script doesn't help in attachment you'll find a picture of the OIP of an old and a new instance of the PIO after adding a new parameter (dropdown).
  4. in the auto hybrid menu you can choose to 'show as reflected ceiling plan' and for the part below the cutplane you can choose 'dashed hidden line' but you can't choose this option for the part above the cutting plane. We as constuction engineers always make 'look up' drawings. Can you please add this function?
  5. Name2Index('ROOD') gets you the textstylerefID
  6. I'm sorry, I want to change colors in part of a string and tought this post was about SetTextStyleRef...
  7. if you have the name of a text style then how do you get the text Style ID? Or even better, how can you make a new textstyle in vectorscript?
  8. FUNCTION SetTextStyleRefN ( objectId :HANDLE; start :INTEGER; count :INTEGER; textStyleRef :LONGINT ) :BOOLEAN ; could do it, but how can I get the 'textStyleRef' if I don't have an object with that textstyle. Is it possible to create a new textstyle and set its attributes, and get the ID of the textstyle?
  9. is it possible to partially color a string, like it is possible to partially make it bold (with SetTextStyle). You can make the object in vectorworks, but an export and re-import to vectorscript doesn't work... see attachment
  10. a script running in VW2014 doesn't work in VW2015. I am unable to create an image-pulldown menu based on symbols while in VW2014 the same script works fine. using: CreateControl(ID, 102, 10, '', 0); in the definition of the dialog and: popupindex := InsertImagePopupObjectItem(dialogID, 102, symbolName); SetImagePopupSelectedItem(dialogID, 102,popupindex); in the drive dialog section anyone experienced problems with these commands in VW2015 SP3?
  11. Pi_

    VW2015 Tab

    all my custom PIO's have this behaviour in VW2015 SP3. in VW2014 SP5 I can tab around...
  12. I agree, I just started working with section viewports and I want this functionality ('+'-sign and thousands separator) It would allready be an improvement if the elevation benchmark would follow the unit settings for length...
  13. for those interested GetObjectVariableString(h,1166)
  14. hi, has somebody figured this out? I posted on this techboard and on VECTORSCRIPT-L about this (only discovered this post now) Vectorworks Home » Forums » Customization » Vectorworks Vectorscript » CreateVPClOvrd working? No answers... I just want to know if we are making a mistake or if this is a bug and we have to wait for a new Service Pack...
  15. works fine here (after I changed the name of the plugin, it had some strange characters in it). Win7 VW2015architecture
  16. very nice feature (priority of material in archicad). For a starter, the 'Wall hole component' should work with other objects than walls. You should be able to insert objects in slabs, colums, roofs,... like you can in walls. As a structural engeneering office we often had to insert for example a wide-flange beam in a slab or column. We use a label that we snap into a wall and reads all information (material, width, area, volume, openings... It would be nice if we could do the same with slabs and columns...
  17. I have the same problem in VW2015 with my PIO's who use this line of code. All PIO worked fine in VW2014 (SetObjectVariableBoolean(H, 1160, FALSE) one PIO was a label that we put in walls, when layerlevel is not 0, PIO crashes on this line of code (that sets the PIO itself to the layerplane) another PIO use an "extrudeAlongPath" I used to set the profile of the extrusion to the layerplane. In VW2015 it crashes (sometimes,...) SetObjectVariableBoolean (polyh, 1160, False); extrudeh:=ExtrudeAlongPath(ash,polyh); its seems a bug to me...
  18. I'm trying to write a script that inserts PIO in a wall. (the PIO is a kind of label, that I now add manualy) I tried 3 different approaches, none of them works...: * AddSymToWall/AddSymToWallEdge, doesn't seem to work * labelh:=CreateCustomObjectN(labelnaam,pX,pY,0,False); ok:=SetParent(labelh,h); or * labelh:=CreateCustomObjectN(labelnaam,pX,pY,0,False); labelh:=CreateDuplicateObject(labelh,h); Is it possible?
  19. I am also interested in this functionality!
  20. hi Diamond, you can export the sheetlayer to modelspace but it will not export custom classproperties overides of the viewport. Use the "export viewport as 2d-graphic" are something (I work with the dutch version) I also have problems with the dwg export and made the following post: Forums » Feedback Center » Wish List Requests » dwg export sheet layer with custom class properties
  21. dubbel click a wall does nothing now, can it be used to go to the component editor
  22. Thanks for the reply, I just tried what you suggest, doesn't work. Have you ever worked with this commands? resetobject(viewportHandle); CreateVPClOvrd(viewportHandle, '2.1 beton - (1.1) snede'); resetobject(viewportHandle); SetVPClOvrdFillFore(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0); resetobject(viewportHandle); SetVPClOvrdFillBack(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0); resetobject(viewportHandle); SetVPClOvrdPenFore(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0); resetobject(viewportHandle); SetVPClOvrdPenBack(viewportHandle, '2.1 beton - (1.1) snede', 65534,0,0); resetobject(viewportHandle);
  23. does anybody have experience with 'CreateVPClOvrd'? I want to create a new vieport with custom class attributes but this seems to do nothing. also after the scipt GetVPClOvrdCount(viewportHandle)=0... When I use "GetVPClOvrdCount(viewportHandle)" on an manual editted viewport it gives correct results. CreateVPClOvrd(viewportHandle, '2.3 dragend metselwerk - (1) snede'); SetVPClOvrdFillFore(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0); SetVPClOvrdFillBack(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0); SetVPClOvrdPenFore(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0); SetVPClOvrdPenBack(viewportHandle, '2.3 dragend metselwerk - (1) snede', 65535,0,0); SetVPClOvrdFillOpty(viewportHandle, '2.3 dragend metselwerk - (1) snede', 50); alrtdialog(concat(GetVPClOvrdCount(viewportHandle))); resetobject(viewportHandle);
  24. in the dutch version width and height is accessible in the worksheet =BREEDTE (width) =HOOGTE (height)
  • Create New...