ibenjamin.price Posted November 14, 2016 Share Posted November 14, 2016 I'm trying to attach a rectangle object to a renderworks camera,. The ultimate goal of which is when moving around the design layer inside the camera view, the object always stays oriented to the camera the same way... Does anyone have any tips on what "input" node for the camera i could use to start this? There isn't a "camera" node, so does this require a custom node? Schematically, this seems quite simple. Input node "camera" - Get Location Node Rectangle Node- Set Location based off of the "get" data from the camera.. At its simplest I'm really just trying to create a coincident constraint between these two objects... Unfortunately, constraints don't work on cameras in 3D view... Any help or ideas is appreciated. Thanks! -Ben Quote Link to comment
Marionette Maven Marissa Farrell Posted November 14, 2016 Marionette Maven Share Posted November 14, 2016 I think you will find that this isn't as easy as you're hoping. A camera object is considered a plug-in object, and currently I'm not aware of any exposed functions to create one. I tried using a camera as Control Geometry, but it appears that you can't activate it if you do that. For now, I hate to say that I can't see a solution to this, but I'll keep it in mind and report back if I find any promising leads. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted November 14, 2016 Vectorworks, Inc Employee Share Posted November 14, 2016 Hi Ben, I don't think this will actually answer your question, but it may help you figure out a work around for your problem. Attached is a simple network that allows you to change the record data of a camera. Hope this helps! accessingCameraRecord.vwx Quote Link to comment
AlanW Posted November 14, 2016 Share Posted November 14, 2016 Why not create an image prop, this will (if set up correctly ) always orientate to the user.HTH Quote Link to comment
AlanW Posted November 14, 2016 Share Posted November 14, 2016 Image Prop_002.vwx Quote Link to comment
Nuno Antunes Posted November 4, 2017 Share Posted November 4, 2017 Hi, at this moment, already in VW2018, there is any way to create and control a Camera with Marionette? Quote Link to comment
DomC Posted November 4, 2017 Share Posted November 4, 2017 Hi You can insert a PIO with "Marionette Default Library" -> "BIM" -> "Symbols" -> "Create Custom Object / Path" . And then change values like declared by sarah. Maybe some PIOs need further objects like path etc. If you create a Camera Object it can look strange because with the tool you draw a line, which defines some values. You can set this values with Set Record Field Node. Do it as follows: Draw a Camera with the tool ... create a Worksheet and play with the values and look, how to name the field names. The attached example is the same as from sarah, with additionally the "Create Custom Object" Node. The Camera looks strange, because the line length will be 0. Use Field name 'LineLength' to set the Line Length. Camera.vwx 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.