Jump to content

Andreas

Member
  • Posts

    16
  • Joined

  • Last visited

Reputation

0 Neutral

Personal Information

  • Location
    Belgium
  1. This works -> vs.UpdateStyledObjects('StyleName')
  2. Thanks, Neither vs.ResetObject(h) works.
  3. Thanks Spettitt But it doesn't work
  4. Dear VW forum I'm looking for a function who can update/redraw/regenerate all the plug-in object in the model. I'll try to explain better: I have several doors-windows generated from plug-in object, I modify a component in the wall (thickness for example) where the plug-in objects are inserted and, I see the changes of the component thickness but to obtain a correct update of the plug in object i need to move-it and then the plug-in objects are well redraw. here an example: I change the insulation thickness in this wall. Then I see this: before moving after.. The functions vs.ReDraw() and vs.ReDrawAll() don't works..
  5. vs.AddSymToWallEdge(inWall, offset, height, flip, right, symName, mode) I suppose..
  6. Dear Vectorworks forum I'm trying to create a script to insert a symbol in a wall. After both object have been selected, then I'm trying using vs.CreateDuplicateObject() or vs.SetParent() to fit the symbol in the wall but, without result. Thanks in advance.
  7. Dear vectorworks forum How do I get the handle of a wall from a selected plug in object? (The plug in object (door or window) is into the wall ) Thanks
  8. Dear vw forum expert. Today we had a boring problem using vw2024. Lines of doors and windows becomes withes without reason after refreshing a project file. Here an image to prove this issues. We can't understand why this happen. Thanks in advance.
  9. Thanks for yours replies @MullinRJ and @Marissa Farrell I changed function and using " vs.Set3DRot( handle , angX, angY, angZ, oX, oY, oZ ) " works well for all objects types. Thanks also for this solution, I'll keep " vs.HRotate() " in mind 🙂
  10. Also with a marionette script doesn't work.. Here attached fileVS-SetAngle issue.vwx
  11. Dear VectorWorks forum: I need to write a script in order to change the rotation angle of some object with a specified parameter. But I have an issue using this python function: - vs.SetAngle(h, value) - cause nothing change after the script run. vs.HAngle(h) works perfectly, I can get the rotation parameter. I think I'm writing something wrong in the parameters method. Here the script: def SetRot(h): rotValue = vs.HAngle(h) vs.AlrtDialog(rotValue) vs.SetAngle(h, 75.0 ) vs.SetDSelect(h) vs.SelectObj("INSYMBOL & INVIEWPORT & ((PON='Data Tag') & (PST=''))") vs.ForEachObjectInLayer(SetRot, 2, 0, 2) Thanks
  12. Dears @MatPanzer and @Line-weight Thanks for yours answers. The solution to this issue is check "Add profile line" and the HSV show correctly the boundaries lines of the wall . "Display extents below cut plane" is why a HSV is needed , cause a classic Viewport don't show correctly the projected object (and also the cut objects aren't properly displayed sometimes). In any case thanks you very much, I really appreciate yours help. And for the Wishlist, please update the classic Viewport in order to avoid the use of the HSV , if possible, of course. Sincerely
  13. Thanks @line-weight Here the file ViewPort lines issues.vwx
×
×
  • Create New...