Author Topic: Custom help for custom CUIx  (Read 1910 times)

0 Members and 1 Guest are viewing this topic.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Custom help for custom CUIx
« on: January 20, 2015, 09:45:21 AM »
Has anyone created custom help files (I guess they are XAML format) for their custom CUIx files? I'm wondering 1) how difficult was it and 2) do you need any special software to create the XAML? Or can it be done in Notepad and then saved as XAML??
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

JNieman

  • Water Moccasin
  • Posts: 1655
Re: Custom help for custom CUIx
« Reply #1 on: January 20, 2015, 09:53:38 AM »
Man, I hadn't done this in a while... I did embark upon it, only to get a few pages into it and flip the desk on it and ragequit.  I ended up creating MS Word docs with hyperlinks.  It was crude, brute force, but it worked, and people /actually referenced them/ much to my amazement.  Someone even took over and used the template file I set up to continue making more after I left, because the boss liked them so much.

Like I said, crude, not the most eloquent, and I know some people /hate/ doc files with all sorts of rubbish embedded in them, but at the end of the day, people didn't ask me as many questions about stupid crap, so I chalked it up to a win.  The only added question I got was "Why won't my links work when I click on them?" because they had saved some docs to their desktop :/  Once I replaced their saved docs with a 'shortcut' icon, it solved that, though.

tl;dr, Yes, and I can't help you at all!  :/  sorry...

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom help for custom CUIx
« Reply #2 on: January 20, 2015, 09:54:02 AM »
create in word....save as HTML>>>convert to CHM

(help "achelp.chm" "mycommand")
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Custom help for custom CUIx
« Reply #3 on: January 20, 2015, 09:56:38 AM »
The CUI uses an XAML file.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Custom help for custom CUIx
« Reply #4 on: January 20, 2015, 09:59:02 AM »
The help XAML documentation is lacking, it doesn't use the full range of XAML tags (I can't find a reference aside from a side note in the AutoCAD developer docs).  And one HUGE problem: once you assign a XAML help file to a CUIx element, you can't null it out.  You can only point it to another XAML file.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Custom help for custom CUIx
« Reply #5 on: January 20, 2015, 10:02:17 AM »
Sounds like I'll be skipping that part then.  :)

Thanks for the info.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Custom help for custom CUIx
« Reply #6 on: January 20, 2015, 10:06:21 AM »
Be your Best


Michael Farrell
http://primeservicesglobal.com/