ioness Posted November 1, 2015 Share Posted November 1, 2015 Hi, I'm currently creating a digital asset which allows the user to create a house based on multiple curves (one for the foundation, one or more for the windows). What I would like is to set the use of the curve later one (example: All curves which have an attribute call "type" which value is "window" will be used to create the windows, etc..) So, I would like to know if there is a way to select in the viewport multiple curves (from the same geometry) and add an attribute, set his value? Thank's in advance Quote Link to comment Share on other sites More sharing options...
Maurits Posted November 3, 2015 Share Posted November 3, 2015 What you could try is using python create a merge node and an attribute node and link all the selected nodes to the merge node then the merge to the attribute and attribute to the asset.when creating the attribute node you can use python to set the parameters values as needed, in this case to string"window" Quote Link to comment Share on other sites More sharing options...
ioness Posted November 10, 2015 Author Share Posted November 10, 2015 Sry for the late reply. After reading the docs, I came up with a similar idea. I'm still experiencing difficulties in allowing the user to select the curves, as all the curves are in same context and I didn't find any function which list the user selection. I thought of instead, getting the selection from the nodes selected in the network view, is it possible? Quote Link to comment Share on other sites More sharing options...
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.