Hello Community! Our community board will be offline for maintenance as we perform an upgrade from June 8th at 8:30 am ET until June 9th. We appreciate your patience and understanding during this time.
-
Posts
801 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Articles
Marionette
Store
Posts posted by Hippocode
-
-
You can link a symbol definition text field to a attached symbol record field. For those symbols you want to show it, you fill the record field with the text.
-
As I mentioned earlier, use the custom selection menu command to create the criteria string if you can't make it work. Also, there are various topics to be found showing how this criteria is supposed to be setup.
-
Your current criteria is "LW = oldWeight". try adding AND SELECTED which will probably work.
Honestly the easiest way is to create a custom selection into a script, which will create the criteria for you. Then copy it inside your script.
-
Change your criteria to use selected objects only.
-
For now you could create a fairly simple object that creates internally the EAP but also adds the path to snap on. Or instead of the path, a locus on each vertex.
-
Considering the default purge command takes time to run I assume it traverses each object in the drawing looking for all attributes used.
-
Have you tried using a space or tab as the empty field choice ?
If that doesn't work, just name it "none" or something.
-
I've been in on the marionette training as well tho Im struggling to see how it can be useful for our office in a specific application.
Well in theory you can code this yourself as there are various ways of making this work. I'd choose a custom object based approach ( like the SymbolObject) because having to run a separate script each time you change something is just asking for errors.
-
I can't verify any other option being available. Maybe someone else can step in.
Anyway, the SymbolObject is present in both bundles we offer, also in the cheap one

-
You can create your own (worksheet) script, that compares your object/symbol location with the space boundary and saves the space room name in the record you provide.
If it's only symbols, try the SymbolObject which automatically registers the space it is in and saves the room building, room name and room number into a field.
These fields can be used to create detailed worksheets as you require.
-
I have looked at your file, and for what I can tell, the worksheets lists everything it's supposed to list.
I also suggest to sort on something else then the class, mistakes are made to easy with wrong classes assigned.
-
I can't think of any reason you can't ungroup an item. You didn't lock the group did you ?
If that doesn't work, have you tried decomposing it and see what it does ?
-
You can calculate the sense (clockwise or anti clock wise direction). the dot product will help you with that.
-
Hippocode,
did you create that with Marionette?
Actual I'm working on something similar, but I'm struggling with the math (vector angle calculation).
I used the SDK.
Rotations on 3 axis are hard to work with, but there are libraries available that can help you with that.
I ended up using the openGL library which is included in the Vectorworks SDK library. You should be able to do something similar with python.
Depending on what you end up doing in 3D rotations, quaternions can help finding out the rotation required between 2 different directions in 3D.
Hi,What I am after is this by Marionette.
I never could get some of the available NURBS functions to work to find the direction of any point on the curve.
Instead, I chopped it up in a lot of points and used the next - previous point to determine the direction of a point. Then you just need to rotate your object to match it.
-
I can divide a NURBS curve up and I get points. What I want to do is to draw a shape that is perpendicular to a point on the line then extrude out perpendicular to the point on the NURBS curve.
Will keep experimenting.
Thanks
If you can't get it to work with the EAP, you can also look at using a loft surface instead. It's more work as you will need to provide the shape at evenly spots spread out on the curve, matching the direction of each point along the curve.
I ended up using quaternations, gave me some headache but the endresult is great.

-
Thanks Hippocode
That is most likely the issue...can you direct me to the un-install instructions?
https://www.gitbook.com/book/hippocode/extensio-installation-manual/details
There is also a newer version available that fixes this issue.
-
Hi Marissa
Here's a screen shot of the full error.
Jamie, could it be that you installed the Extensio module ?
Version 2016.02 broke Marionette because of an UID collision with one of our tools.
If so, remove it or upgrade to the latest release to fix it.
-
Your extrusions are corrupt. When ungrouping the symbol and trying to change anything on the OIP triggers an error so they are stuck.
That's probably why. You need to recreate them.
-
Have you tried different renders ?
-
Can you confirm al your classes being turned on ?
-
A symbol definition is unique and can be given default values.
Each symbol you place in the drawing, will start as an exact copy of the current symbol definition but can be changed in terms of recorddata.
Record changes to the symbol definition will not change the symbols already placed in the drawing.
-
Yes, as mentioned, the defaults are saved into the symbol definition.
Any change you make in the definition will only appear in future symbols.
Any symbols that were already in the drawing need to be modified separately.
The thing is, a worksheet would be much easier to find those symbols you need to correct data in.
So you would edit the definition and then edit symbols in the worksheet.
-
When you have the symbol(s) selected, the data pane shows the fields for those symbols. This way you can alter objects in your drawing without having to re-attach a record.
Note that you still need to change the default value in the symbol definition if you want future objects to have the same modified value.
-
While we are at it, symbols that have text attached to record fields aren't displayed properly. The bounding box of the original symbol without these text fields is used this cuts of parts of the symbol in the image...

Don't Delete Resource in Use
in Python Scripting
Posted · Edited by Hippocode
I think the easiest way is to use criteria and the count function to find out if a class is being used.
If that doesn't do it, traversing all the objects manually with one of the available functions yes.
But it might get tricky for symbol definitions not used in the drawing. You could traverse each definition and search it's contents as well.
Any way, it's important you do a deep search, including group contents and make the search recursive.
http://www.vectorworks.net/support/custom/vscript/example
Shows some recursive functions.