Recently active
I am about ready to scream (I don't have any hair to pull anymore). I wantto put a simple little script together that I can source, add to my popupmenu, and call when I want it. It will take the name of the an ENTITY from agraphic attribute using the following command stringgraphic_path = entity_path(oid_attr(oid_caret()) This works BEAUTIFULLY from the Epic command line (of course adding the $before the variable name). However in this simple little script, it does notwork, the variable always returns nothing. function graphic_info (){graph_type = oid_graphic_format(oid_caret())graph_path = entity_path(oid_attr(oid_caret(), boardno)) tag_name = oid_name(oid_current_tag())eval "Graphic path - $graph_path\Graphic type - $graph_type\Current tag - $tag_name"}The variable $graph_type will show up in the output, but the path is blank.I've even tried to narrow this down to just displaying the path using this:eval entity_path(oid_attr(oid_caret(), boardno)) Again, this works from the command l
Please read the whole thread carefully before trying to apply the script supported.Recently one of my colleagues found a way to exit Editor in a very quick way. I made myself a little script out of it.function exitEditor(){var p = Application.getActiveDocument().getElementsByTagName("p").item(0);var newnode = Application.getActiveDocument().createTextNode("50 ...Hz ±2");p.appendChild(newnode);}where "p" in getElementsByTagName can be replaced with any tag where #PCDATA is allowed.Please note that the script is meant to be a joke, worthy a try though.Kind regards
Hello,I'm new to the PTC community and Arbortext and am in the Minneapolis/St. Paul area. I have a temporary assignment (1 year) where I need a technical author experienced in Arbortext AND who has knowledge of mechanical, industrial or refrigeration/HVAC.Message me if you want more details.
Hi,How do i get the leader fills to appear in my RTF Output ?
When publishing part of a manual that has xrefs that are not included in the selected section of the manual to publish. Why does it sometimes show the text to the section and other times it shows nothing. See attached image (xref) step 8 is included in the published selection and step 9 has a xref that is not in the publsihed selection. Image 2 (xref 2) shows step 8 with a xref that was not inlcuded in the published selection. This one shows for some reason.Any insight would be great.ThanksBryon
how can i set the different column width in the style sheet for the table?there are three tables which are finished by three guys, but the column width is different in different table, can i set the column width in the style sheet to keep them accordance? thanks!
I am trying to create a new window with some custom menus in version 5.3. I can't seem to get the custom menus to appear. I am doing: local win = window_create('edit', 1+2+8+16, -1, "400x500-20+20") current_window(win) menu_add -menu . CustomMenu window_show(win, 1)According to the help, the "2" in the window_create flag is to add a menu_bar. Not sure what I am doing wrong.Thanks in advance.
I've added a toolbar button by customising $APTCUSTOM/dialogs/editwindow.xml as suggested in previous Adepters answers. That's working fine.My button calls a remote service that may or may not be available, and I'd like to change the state of the button to indicate this. It looks as if I can poll the remote service occasionally with timer_add_callback, but I can't see how to change the button to make it "disabled". Is this possible?Jonathan ReevePractical Law CompanyThis e-mail from Practical Law Company (
Is there a way to configure Arbortext 6.0 M070 to insert relative paths in hrefs? Currently, it inserts full absolute paths with drive letters. This is killing our publications pipeline.We have a large team of globally dispersed authors using SVN to share and maintain content. Their file structure is consistent within maintained content, but it's impossible for us to know what drive/folder they check out content into.
I'd like to be able to test in ACL whether a document has changed. Putting it another way, if the user closed the document, would they be prompted to save?Thanks.Jonathan ReevePractical Law CompanyThis e-mail from Practical Law Company (
If you open a new document in Arbortext and select "Arbortext XML DocBook V4.0", the empty document presents several "placeholder" texts for title, pubdate, corpauthor, street, and so forth (see image)How can this placeholder text be generated in styler? Whenever I style an element and it's empty, there is nothing displayed on the editor.
I am using version 5.3. I want to remap a toolbar button to a custom function. In the help, it states I can map a toobar item (such as Toolbar_Print) in Unix only. How do I accomplish the same thing in Windows? Thanks in advance.
Hello all,Updated Browser supportEditor JRE updated to 1.6.0_43and morerelease noteshttp://www.ptc.com/cs/product_calendar/PTC_Product_Calendar.htmThanks!Pushpinder Toor, SLM Solution Manager
Hi,Is there any way in the DCF file or in the FOSI to limit the size the images are shown in the Editor's view?We are working with Epic 5.4 and we would like to limit the large images (sometimes more than 2000 pixels wide or high) to be shown in the editor's view with a maximum of 600 px wide or high. Unfortunately I can't force the editors to use smaller images while working the XML files with Epic.Tnx!_____________________________Gabriel Oreggioni
I need to change my IsoDraw 7.1 to a new machine. I can't find the online facility to request a license change. Can someone please let me know how to go about it.
Hello experts!!Does anybody know how can I handle my events using ACL and javascript? For example, when I call an ACL function since clicking an XUI button, How can I detect this event inside JavaScript?Thank you very much for your time and support.Regards.Paulette Zorrilla 😃
When you go to File -> New it shows a list of templates that are available in the users directory under the folder Isodraw/program/templates I believebut it only shows the first 10 files in the Templates directoryIs there some envrionment variable or some parameter I can set somewhere to show more than 10 templates?
I'm trying to get a macro to select callouts but get errorsThis is a little macro that illustrates my problemmacro test_me define me as MouseEvent define el as element me = Wait MouseClick Select at me.ptmm.x me.ptmm.y Direct el = ActiveDoc.FirstSelectedElement MESSAGE el.typeend macroWhen run this macro just displays the selected element type - "Line" or "Bezier" etc.But if you click on a callout it gives the following error message:Macro: Error in expression syntax."MESSAGE el.type"Anyone have any advice?
Hello Experts!I was wondering where I can find and consult the Arbortext Programmer's Guide? Could you please give me a link or directions in order to access this content, it would be pretty useful for me! 😃Thanks a lot for your help and support.Paulette Zorrilla
If you go to insert, comment (alt, ctrl, m) . YBryon
Hello Experts!!Today I'm facing a problem with my ACL code, I've implemented a radioGroup in order to define a sort of options to the user, I did this implementation using XUI, but now what I'm needing is to get the value picked by the user. I though that using java this would be easy, but I just can't get the elements according to the radio group, so I decided to use javascript, however I'm still facing certain problems. Here's part of my code: <<xuiwindow.js>> var doc = e.target.ownerWindow.activeView.document; var xuiwin = Application.event.view.window; var grid = Application.event.target.parentNode; var nodelist = grid.getElementsByAttribute('checked','true', 1); if (nodelist.length > 0) { var label = nodelist.item(0).getAttribute('id'); Application.alert("Label: " + label); }As you can see I'm trying to pass the event which in my case is click one button, however I can not pass this value, in my acl code I have something like this:function walktroughXML(win, dlgitem
Hi Adepters:I've installed AE 6.0, 64-bit, M030, on my machine for the first time. It seemed to not play well with leaving AE 5.4 installed (in a different location, of course). So, I then uninstalled AE 5.4. After that, when I launch the editor I get an error window proclaiming: Warning: Could not find the application's symbol font. It will not be possible to display certain symbols and icons.So, yes, my nifty para icons are not displaying. I tried to do a repair install, but that didn't help. I checked in the AE 6.0 fonts folder and there are 4 symbol fonts, just as there are for AE 5.4. My Windows 7 fonts folder also has 2 symbol fonts. Or, is it just complaining about the para icons, wherever those live?Any ideas how I can get my symbol font back?Dave
Does anyone know how one would parse an XML Schema from the command line. Iknow how to do it with 'dtgen.exe' for a DTD, but if it will not work with aschema. Many thanksLynn
I have created a toolbar with a button using XUI dialog boxes. The button and the toolbar are displayed successfully but the command associated with the button doesn't work? Can you help me ?code fragments:function _init1(win = current_window()){ if (window_state(win) < 0) { response("Invalid window $win") return } local doc = window_doc(win) if (!doc_valid(doc)) { response("Invalid document") return } local dirPath=dirname(doc_path(doc)); dirPath=$dirPath . "dialogs\\toolbar_InsertRevisionTags.xml" dirPath=absolute_file_name($dirPath); append_dialogs_path(dirPath, 1); if (!dlgitem_exists(win, 'toolbar_InsertRevisionTags')) { window_load_component_file(win, 'toolbar_InsertRevisionTags.xml') } ret=dlgitem_add_callback(win ,'button_InsertRevisionTags', 'attach_callback');}#function 'attach_callback'function attach_callback(win, dlgitem, event, data, appdata) response("ok")}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.