Open GoogleCodeExporter opened 9 years ago
@daren-thomas Should we refer to RevitAPIDocs Code Samples and pyRevit for this? or actually include sample scripts?
Maybe adding a menu that lists sample scripts so users can load and test easily.
Woah! RevitAPIDocs Code Samples! I hadn't seen that! What are these based on? Are they based on Jeremy's code? We should definitely refer to these projects!
I wonder... can we figure out a way to load the code samples from within RPS? Create a... load code sample button for the text pad and that would (scrape?) the RevitAPIDocs website? Maybe there is an API? Ah! I just found the repo with the code... should be as easy as using some sort of GitHub api to read the files...
@gtalarico are you interested in this happening? What are your requirements for embedding the code samples into RPS?
@daren-thomas Codes are mostly done by Gui and contributed by other users.
@gtalarico I think it'll make more sense if RPS has link buttons to RevitAPIdocs and Gui implements a search for the code samples on the site. This way we won't be duplicating interfaces.
However I'm all for having a snippet system in RPS similar to the way Atom snippets work with a .cson
file. I think that'd be a great tool for more advanced users.
Thanks @daren-thomas ! The code samples are hosted on github, revitapidocs.com uses github api to pull them and show it on the website. https://github.com/gtalarico/revitapidocs.code
I am fine with any of these amazing ideas.
But we should also have a plan to merge or preserve the amazing docs you have built on Gitbook: Like this one: https://daren-thomas.gitbooks.io/scripting-autodesk-revit-with-revitpythonshell/content/webserver_example/
Original issue reported on code.google.com by
dthomas.ch
on 15 Jul 2010 at 10:41