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.
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
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.
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 🙂
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
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
Dear VW Team
It seems something goes wrong when using an Horizontal Section Viewport (HSV).
It seems the lines (of an object) in the HSV are rendered before the fill, then the thickness looks the half of the same in 2D Plan View.
Here an Image to show this issues.
I'm using VW2023 SP6.
Regards