Quantcast
Channel: PTC Community : Discussion List - Arbortext
Viewing all 1555 articles
Browse latest View live

macro to export cgm to users pictures folder

$
0
0

What does the code need to look like? Folder location would be C:\users\username\pictures\, how does it change for each individual user as the username changes.

 

Macro export CGM to user pictures folder

# recorded with Arbortext IsoDraw 7.3

  app.interaction=false

  Save

  Define final2 as string

    final2="X:\Photos\" + stripext(activedoc.name) + ".jpg"

    Export final2 "JPEG"

  app.interaction=true

  app.interaction=false

  Save

  Define final as string

    final="C:\users\username\pictures\" + stripext(activedoc.name) + ".cgm"

    Export final "cgm"

  app.interaction=true

End Macro

 

Thanks

 

Bryon


getElementsByClassName

$
0
0

I am trying to select same elements with different parents that have the same class using getElementsByClassName, but i get the following error message:

org.mozilla.javascript.EcmaError: TypeError: Cannot find function getElementsByClassName in object com.arbortext.epic.internal.aom.DocumentImpl@156d16c0. (C:\program files\ptc\arbortext editor\custom\scripts\Local.js#3985)

    at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3689)

    at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3667)

    at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3695)

    at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3714)

    at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3786)

    at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2268)

    at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2250)

    at org.mozilla.javascript.gen.C__program_files_ptc_arbortext_editor_custom_scripts_Local_js_25._c_Renumber_32(C:\program files\ptc\arbortext editor\custom\scripts\Local.js:3985)

    at org.mozilla.javascript.gen.C__program_files_ptc_arbortext_editor_custom_scripts_Local_js_25.call(C:\program files\ptc\arbortext editor\custom\scripts\Local.js)

    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)

    at org.mozilla.javascript.gen.C__program_files_ptc_arbortext_editor_custom_scripts_Local_js_25._c_InsertStep_14(C:\program files\ptc\arbortext editor\custom\scripts\Local.js:1228)

    at org.mozilla.javascript.gen.C__program_files_ptc_arbortext_editor_custom_scripts_Local_js_25.call(C:\program files\ptc\arbortext editor\custom\scripts\Local.js)

    at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)

    at org.mozilla.javascript.gen.C__program_files_ptc_arbortext_editor_custom_scripts_Local_js_25._c_InsertElements_11(C:\program files\ptc\arbortext editor\custom\scripts\Local.js:316)

    at org.mozilla.javascript.gen.C__program_files_ptc_arbortext_editor_custom_scripts_Local_js_25.call(C:\program files\ptc\arbortext editor\custom\scripts\Local.js)

    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)

    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3090)

    at org.mozilla.javascript.gen.C__program_files_ptc_arbortext_editor_custom_scripts_Local_js_25.call(C:\program files\ptc\arbortext editor\custom\scripts\Local.js)

    at org.mozilla.javascript.JavaAdapter.doCall(JavaAdapter.java:606)

    at org.mozilla.javascript.JavaAdapter.access$000(JavaAdapter.java:15)

    at org.mozilla.javascript.JavaAdapter$1.run(JavaAdapter.java:586)

    at org.mozilla.javascript.Context.call(Context.java:489)

    at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:504)

    at org.mozilla.javascript.JavaAdapter.callMethod(JavaAdapter.java:583)

    at adapter2.handleEvent(<adapter>)

 

Any idea why getElementsByClassName cannot by found? How would I get getElementsByClassName to work?

Thank you for help!

Have a blessed day!

 

Florin

Arbortext & APP World 2017

Isoengine73.exe and 2K12

$
0
0

 

Good morning all,

A quick questions. Is PTC --> Arbortext IsoView 7.3 --> Isoengine73.exe  Compatible with Windows Server 2012 R2 ? (With IE11)

 

The application came bundled with an IETP Software. The IETP Software works fine, and I am able to see the thumbnail of the illustration alright. Yet, when I click on the Thumbnail, the illustration does not open up and the Isoview Buttons do not work.

so:Is the bundled Isoview app compatible with Server 2K12 R2?

  • Are there any tricks to make it work? For example, I have already disabled pop-up blocker in IE11, Added the relevant web page to Compatibility Mode and  to the Security Tab --> Trusted Sites (with "enable protected mode" disabled)
  • I tried "compatibility mode" on the Isoengine73.exe  using XP SP3 and others
  • All of the above to no avail

 

Any tips or ideas ?

 

 

 

Many Thanks

 

Mariano

How to trim IsoDraw illustration outside vdc extent

$
0
0

Hello all, we are placing jt files on our templates. We resize and contour fill until it looks correct. We then export to a cgm. We have been having some issue with excessive file size due to all the information outside the vdc extent also converts. We have set editor to not to display anything outside this vdc extext, but the cgm are being quite large slowing down publishing. What we have been doing to alleviate this, is create a box filled with a color then place it over the excess illustration outside the template. Select element, optimize, remove covered elements. Then it removes anything that is covered. We do have a frame around our template. Is there away to automate this procedure?

 

Bryon

javascript file creating delay in document loading

$
0
0

I am using JavaScript to customize certain type of documents and I did notice a fairly long delay in loading a document that is subject of the customization when is open for the first time in Editor.

If a document that is subject of the customization is or has been already open, the following documents of the same type do not experience the loading delay.

 

I am assuming that the delay has to do with loading up the JavaScript file first, which has a pretty large size (1025KB), and then the document. How can the delay be reduced?

 

Thank you for help!

Have a blessed day!

 

Florin

Spellcheck error

$
0
0

Hi everyone,

 

We are struggling with an error during spellcheck.  If the editor spellchecks a map containing a large number of topics we get crashes.

 

Is this a known issue, and are there workarounds?

 

We are running 5.4

 

Thanks,

J

Spellcheck validation prereq for CCMS checkin

$
0
0

Hi folks,

 

I'm trying to enforce a spellcheck on topic content before allowing a check-in to the CCMS.  The behavior is identical to xml validation.

 

I can't do anything on the CCMS end- are there any configurable behaviors in the editor to prevent writers from performing check in on a topic with flagged spelling errors?

 

Thanks,

J


How to add a custom unit of measurement to Arbortext?

$
0
0

Our customer wants to add a new UoM to their BREX for definition of flow rate as oz/s. How do I access the UoM list and add this as a custom measurement?

screen magnifiers

$
0
0

Does anyone have any experience using Arbortext with screen magnification software? I have a vision impairment and use a screen magnification application. Just learning Arbortext. Finding that scrolling and screen refreshes are very slow, even to the point of crashing my laptop. Any ideas? Thanks.

Can I add a Search tab function to Web output using Arbortext 7.0 and publishing engine?

$
0
0

I know I can customize the appearance of the default frameset. However, I really need to have a search capability in addition to TOC and Index - like the one in AE Help System. Is that possible without using DMP - I want to use Web output only?

 

Comparing two cycles of work

$
0
0

How will this application will provide detail by comparison two versions of documents with details like no of pages added, no of pages deleted, No of content that got modified etc.

How to get the trial license of Arbortext XML editor

$
0
0

How to get the trial license of Arbortext XML editor, while generating on site, it says unknown HOST

How do I get the Title in an Appendix to show up in the TOC? All I get is the letter "A" and a page number. No title

$
0
0

I created an appendix at the end of my bookmap.  Unlike all the other topics in my book, the appendix topic title does not show up in the TOC.  How do I fix this?

capacity exceeded: text fragment page table entries

$
0
0

Hello everybody,

 

I've got a fosi I'm cleaning up to work in Editor 5.4, and I am getting the above error.

 

can anyone tell me what causes this error??

 

I know it was fixed in later releases, however we need to use 5.4.

 

 

Thanks,

Tracey


PTC Arbortext IsoDraw 7.3 working slow!

$
0
0

Hello!

Why Isodraw 7.3 working very slow when I have text in my illustration?

My system have: Intel i5-6500 (3.2GHz), 8GB RAM, Win 7 Pro x64, Intel HD 530 (192MB dedicated).

 

Thank You!

Can Arbortext XML Editor 7.0 standalone transform XML to PDFs

$
0
0

Hi,

 

I have an important question. My client is currently using Arbortext XML editor 5.3 that is integrated with a CMS and CMS is doing the transformation from XML to PDFs. And Arbortext is only used for XML editing.

 

I need to do the same thing but my company don't want that CMS but with existing XML files and DTDs and Style sheet (FOSI)

 

Is Arbortext 7.0 standalone capable of transforming XML to PDFs? I had a discussion with a sales person from PTC he said you can do with Styler.

 

I want to sure that it should fulfills our requirements before acquiring the licence. Wanted to test with trial version but not getting the trial license.

 

Anybody confirm whether is possible in Arbortext 7.0?

Is there anything in Isodraw 7.3 that makes 7.0 macros hang Isodraw?

$
0
0

We've recently upgraded to Isodraw 7.3 from 7.0.

 

We have a macro that draws ribbed pipes but it no longer works properly in 7.3.

 

It's a long macro so I won't put it here unless someone wants me to.

 

The macro has a while loop in it that prompts the user to select a point on a line - it adds ribs along this line each loop until the user exits by clicking in space.

 

It worked fine in 7.0, but in 7.3 it works OK for a few seconds and then Isodraw hangs for several minutes as though it's stuck in an endless loop. It eventually exits the macro.

 

Strange thing though is that it's not based on the number of ribs it draws (i.e. the number of loops) but on time since the macro started - if you pick points quickly, you can get more ribs drawn than if you pick them slowly.

 

Is 7.3 less forgiving of bugs, or could I be using some functions that no longer work properly?

 

Any general guidance would be very welcome. I can post the whole macro if anyone is interested.

Does anyone have a custom macro to remove object tip information from objects?

$
0
0

Hi there,

 

we have a bunch of 2d and 3d graphics that have "object tips" in the Objects.  We only need to remove the object tip (the hovering text) part.

Is there an existing custom macro for that or is there a batch process technique?   I would like to streamline the process for efficiency.

 

Any ideas?

 

kr

Janine

Arbortext - consolidate table at the topic level in the ouput

$
0
0

I have information in tables (tools, spare parts) put inside the topics and I would like them to be hidden on the topic level and have all the tables consolidated in the output at the bookmap level. How feasible it is to have in Arbortext that gives me a pdf output?

Viewing all 1555 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>