Quantcast
Channel: PTC Community: Message List
Viewing all 13616 articles
Browse latest View live

Re: REcommendation existing how to handle Sessions using Web Services?

$
0
0

Hi Klaus,

 

How are these web services being used, or in what context?  It sounds like your issue, is that the web service session is held too long?  You don't mean it's getting disconnected too soon, do you?  Web services does its own management of sessions, so it may be for your use-case, it's not releasing them soon enough?

 

Are triggers fired or involved here, at all?

I ask, because if I remember correctly, there are trigger related issues that can cause API sessions to not be released.  But, it doesn't sound like that is involved here.

 

You may want to open a Support case, to look into this.


Re: Why is Creo3 so old-fashioned?

$
0
0

If given the option between SW or Creo we have chosen Creo based on the instabilities we have experienced with SW. Creo has proven to be more profitable in large part to its stability (We recently reused a sub-assembly released in 1994 [I am definitely one of the old-dogs]. Saving the customer a good chunk of cash which reinvested in a version 2 of the product).

 

I responded as a question in order to avoid biasing any responses (and to avoid embarrassing myself if we were the only ones having this issue) ..... but I was really making a statement.

 

My apologies for leading the topic astray.

Re: Schematron and Track Changes Markup (atict)

$
0
0

Those were the good old days! I think those arbortext.com links have been broken for about 10 years now...

 

Regards the Schematron, what I would suggest as a starting place is to try get it working outside of Arbortext, then bring it back in. I don't see any obvious errors in your .sch definition. One thing I wonder is if the atict:* stuff has been magically stripped by Arbortext by the time the Schematron is applied?

Re: Using tables for current calculation

$
0
0

Thanks Luc, for the clarification.

 

The symbolic solution is curious. I copied and pasted the initial symbolic, which resulted in:

 

Excel VBA and Creo 2 - arrrghhhhhh!

$
0
0

Trying to get a simple connection to a running session of Creo 2 for starters, but I keep getting a "pfcExceptions::XToolkitAmbiguous" error when trying to connect.

 

Following system environment variables are set:

 

PRO_COMM_MSG_EXE "C:\Program Files\PTC\Creo 2.0\Common Files\M230\x86e_win64\obj\pro_comm_msg.exe"  (also tried it without the _EXE, no change)

PTC_WF_ROOT "C:\data\StartCreo"

PRO_DIRECTORY "C:\Program Files\PTC\Creo 2.0\Parametric"

PFCLS_START_DIR "C:\Program Files\PTC\Creo 2.0\Common Files\M230\x86e_win64\obj"

 

I've run "vb_api_register.bat" as admin and selected the reference in Excel, and also run "protk_unlock.bat" which I saw recommended on another post.


I'm pretty competent in VBA and programming with several years of it under my belt...but for some reason this is kicking my arse.  

 

 

Here is the simple VBA code:

 

Private Sub CommandButton1_Click()

   Dim asyncConnection As IpfcAsyncConnection

   Dim cAC As CCpfcAsyncConnection

 

   Set cAC = New CCpfcAsyncConnection

   Set asyncConnection = cAC.Connect(dbnull, dbnull, dbnull, dbnull)

 

   Stop

 

   If Not asyncConnection Is Nothing Then

      If asyncConnection.IsRunning Then

         asyncConnection.End

      End If

      Set cAC = Nothing

      Set asyncConnection = Nothing

   End If

End Sub

Re: Can part model color be changed as a feature item

$
0
0

Gah!  Was REALLY hoping they'd fix that BUG from, what, WF2???

 

I noticed that too, but I thought a second regen fixed it, could be wrong.....

Re: Why is Creo3 so old-fashioned?

$
0
0

Crashes I can deal with.

Both SW and Creo appear to crash about in about the same way and about as often.

Something about confusing the buffers specially with intensive graphics in the buffer.

 

Us old timers have a simple phrase stuck in our heads... "save when you think about it"...

This is what you learned when crashing CAD 20 times a day was normal.

Today, I normally crash either Creo or SW by trying new features or feature options.

Rarely will either system crash with conventional development.

 

Caveat: My systems are certified for both CAD applications.

Re: Creo vs Solidworks & Cubs vs Indians

$
0
0

In comparing the 2 at my last job, SW 2014 against an outdated 5 yr-old copy of Pro/E, there are plenty of things SW flat CANNOT do.  And the times you can get close, it takes a LOT more features.  I went on the SW forums and ran circles around them..... 


Re: ProDimensionCanRegen in Creo3

$
0
0

I see what you are saying.  I tried to use this isdriving, function weeks ago,  but it brings up a licensing requirement warning, and we do not have toolkit for 3d drawings.   I cannot check this with the standard toolkit license?  But I used to be able to check it with Pro_develop?

Re: REcommendation existing how to handle Sessions using Web Services?

Re: How to force all parts in an assembly to regenerate?

$
0
0

If you are going to use always the same parameter I suggest using the find tool to select all the analyses features:

2016-11-02 21_57_06-Search Tool_1.png

Then, supress, resume and regenerate. This may be a way to achieve what you are looking for.

Here is mapkey to do that:

 

mapkey $F2 @MAPKEY_NAMEAnalysis Regen;@MAPKEY_LABELAnalysis Regen;\
mapkey(continued) ~ Command `ProCmdMdlTreeSearch` ;\
mapkey(continued) ~ Select `selspecdlg0` `SelOptionRadio` 1 `Feature`;\
mapkey(continued) ~ Activate `selspecdlg0` `SelScopeCheck` 1;\
mapkey(continued) ~ Select `selspecdlg0` `RuleTab` 1 `Attributes`;\
mapkey(continued) ~ Select `selspecdlg0` `RuleTypes` 1 `Expression`;\
mapkey(continued) ~ Input `selspecdlg0` `ExtRulesLayout.ExtExprLayout.ExprParamsList` \
mapkey(continued) `UNIT_COST`;\
mapkey(continued) ~ Update `selspecdlg0` `ExtRulesLayout.ExtExprLayout.ExprParamsList` \
mapkey(continued) `UNIT_COST`;\
mapkey(continued) ~ Select `selspecdlg0` `ExtRulesLayout.ExtExprLayout.ExprOperandLabel` 1 ` * \
mapkey(continued) `;~ Activate `selspecdlg0` `EvaluateBtn`;\
mapkey(continued) ~ Select `selspecdlg0` `ResultList` -1;~ Activate `selspecdlg0` `ApplyBtn`;\
mapkey(continued) ~ Activate `selspecdlg0` `CancelButton`;~ Command `ProCmdSuppress` ;\
mapkey(continued) ~ Activate `del_sup_msg` `ok`;~ Command `ProCmdResume` ;\
mapkey(continued) ~ Command `ProCmdRegenAuto` ;

 

Just replace in lines 8 and 10 your parameter name.

 

Jose

Re: ProDimensionCanRegen in Creo3

$
0
0

Thanks for your help Matthew.    Yes there is a licensing issue with ProDimensionIsDriving command, its not included in the standard toolkit license.  and I'll look into a separate spr for that.  Whenever I would include the function in my programs would say it was not unlocked, even though I currently held the toolkit license.    And by the way the toolkit documention that is online (support.ptc.com/cs/tkdoc/Creo3/protoolkit/...)  does not include ProdimensionCanRegenerate function yet, but if you use the tkdoc from your install location in m110 it is included in that set.

 

  Either way I got around the issue as you suggested, that if ProDimensionCanRegenerate returns anything other than protk_no_error the dimension is not driven.  Its a backdoor way at coming to that conclusion, but gets me by for now.  Thanks!

Re: Fourier-Analysis

$
0
0

I dedicate much time to such problems  as you can see by the following picture:

deterministic signals analysis.jpg

Re: Conversion of MAthCAD 15 to Prime 3.1 on Microsoft Surface

$
0
0

But Windows 10 is not supported in this case. So it is necessary to wait for the following releases of the program for a start.

Re: Conversion of MAthCAD 15 to Prime 3.1 on Microsoft Surface

$
0
0

What type of licensing are you using for Mathcad ("locked" or "floating")?


Re: Conversion of MAthCAD 15 to Prime 3.1 on Microsoft Surface

$
0
0

I agree. I thought I'd see if someone had a solution. I think I will wait but are the dates for release set ? It has been promised since 2014.

 

A

Re: Conversion of MAthCAD 15 to Prime 3.1 on Microsoft Surface

$
0
0

Release dates (Q4 of 2016 year is stated for Mathcad Prime 4.0 version):


Pic_1.png



P.S. What type of licensing are you using for Mathcad ("locked" or "floating")?



Re: Conversion of MAthCAD 15 to Prime 3.1 on Microsoft Surface

$
0
0

i have three fixed licences. I tried a floating license but the value was not there so I dropped it.

 

A

Re: Post drill cycle output help

$
0
0

Your cycle CL data is in couplet form so you can use POSTF(28) and POSTF(29). These functions locate and remove couplets and words, so you may grab the values you need and build the G code line. There will be a bit of coding involved to account for different types of cycles and to output the XY values.

ex:

FRTIDX=POSTF(28,3,(ICODEF(IPM)))

IF(FRTIDX.NE.0)THEN

FEDCUR=POSTF(7,(FRTIDX+1))

ENDIF

 

from FIL we use to get the feed rate if in IPM from a cycle. There are GPOST and FIL manual somewhere in you CREO installation or you can order them hardcopy from AustinNC. If you need a lot of post help contacting them would be a good idea.

 

Josh

Re: Solve Command with Matrix

$
0
0

After correcting the length of the guess vectors - here is an approach using minerr. Not sure if an aberration of   approx 4,9 % in case of I.x would be tolerable. The other deviations are quite moderate - less than 1%.

 

Viewing all 13616 articles
Browse latest View live


Latest Images

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