-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: an added method doesn't render #199
Comments
This is probably because |
See https://github.com/flucoma/flucoma-docs/blob/main/flucoma/doc/templates/maxref.xml for example. Something added to the {%- if species == 'data' -%}
<method name='refer'>
<arglist>
<arg name="name" optional="0" type='symbol'/>
</arglist>
<description>Blah</description>
</method>
{%- endif -%} |
Likewise for PD. The duplication is sad making, but we never got to the point of anything more elegant |
this is good. so in effect I remove from the rest of the DataSet and I put it there. will it filter automagically if the object is type 'data' then? all our named data object have refer, so I should be as generic as possible in the description. How is that for English (instead of your 'blah' :) Enables to refer to another object of the same class, thus sharing its state. I struggle to write it clearly. English is hard. |
This is what the 'species' marker does, exactly so that we can distinguish these 'named' objects in the documentation.
Possibly a little terse! Maybe look at the Max doc for |
coll: Changes the reference to the data in another named coll object. Changes to the data stored in any referenced will be shared by all other similarly named objects the problem we have is that all named objects will be receiving this - it is great but we cannot use the class name (except if there is a shortcut I can use in the code?) new version: xxx = if it can be automagically be the class in question, that is amazing, if not I can put "object of the same class" |
Indeed – the template file is replete with this, especially at the top. The incantation is (Takes the client name then transforms it for the CCE in question, e.g. FluidDataSet -> fluid.dataset~ for Max) |
perfect thanks! I'll also fix the position of 'reset' in the message order (it is at the top in max and at the bottom in Pd) |
this is magic. thanks so much |
Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.
while trying to fix #159 I added the method
refer
to /doc/DataSet.rst (commit a6fe3a1)What was the expected result?
for it to be added to Max, SC and Pd ref
What was the actual result?
it doesn't show up!
What operating system were you using?
Mac
Operating system version
10.13
FluCoMa Version
tip
The text was updated successfully, but these errors were encountered: