In Memory of a Great Man
Mathcad 15 and Mathcad Prime - two ships
Mathcad Prime – это новый корабль, который построили для замены старого – Mathcad 15. Оба корабля находятся в плавании, но старый корабль скоро пойдет на слом. Поэтому с него на ходу перегружают в новый корабль все ценное.
Mathcad Prime - a new ship, which was built to replace the old - Mathcad 15. Both ships are at sea, but the old ship will soon be scrapped. Therefore, it is transferred to the move to the new ship all valuable.
How to check each element of a matrix and to get the result depending on the conditions that are fulfiled
As you can see in the attached file, i have 2 matrices and i want to check a condition for each element and to show the result depending on the condition that is fulfilled. When i try the normal "if" condition it says that it has to be a scalar.. i know I have to access at each element but i dont know how.
Thanks in advance
Loop Function Issue
As I am trying to solve one problem for my project, I am facing difficulties to solve the loop.
I am looking for Buckling Pressure for different L.b and K value.
Can you please help me out.
How to add ObjectFormProcessorDelegate
Hi.
How can i register my own ObjectFormProcessorDelegate for some windchill OOTB ObjectFormProcessor?
I can't find any example in customization guide.
I need to add some code to run on com.ptc.windchill.enterprise.part.forms.CreatePartAndCADDocFormProcessor.postProcess step.
So i need add my ObjectFormProcessorDelegate to CreatePartAndCADDocFormProcessor.createPartProcessor.
How can i do it?
Thanks.
How to run background task periodically
Hi.
I need run some code in Windchill to update objects. I need start this task at specified time and rerun it in some period.
So i tried to use java.util.TimerTask implementation.
Some code example i used:
public class MyServiceManager extends wt.services.StandardManager {
private static Logger LOGGER = LogR.getLogger(MyServiceManager .class.getName());
public static MyServiceManager newMyServiceManager () throws WTException {
MyServiceManager instance = new MyServiceManager ();
instance.initialize();
return instance;
}
@Override
protected synchronized void performStartupProcess() throws ManagerException {
try {
/*some code to init firstTime and period*/
Timer timer = new Timer();
timer.scheduleAtFixedRate(new MyTimerTask(), firstTime, period);
} catch (Exception e) {
LOGGER.error(e.getMessage(), e);
}
}
}
public class MyTimerTask extends java.util.TimerTask {
private static Logger LOGGER = LogR.getLogger(MyTimerTask.class.getName());
public MyTimerTask() {
//
}
@Override
public void run() {
try {
QuerySpec querySpec = new QuerySpec();
//fill query spec with conditions
QueryResult qr = PersistenceHelper.manager.find((StatementSpec) querySpec); // and i get exception here
//
} catch (Exception e) {
LOGGER.error(e.getMessage(), e);
}
}
}
In PersistenceHelper.manager.find i get exception:
Message: Resource bundle/Message key = wt.pom.pomResource/0
(wt.pom.pomResource/0) wt.pom.POMInitException: A persistence error occurred. System message follows:
Nested exception is: wt.method.MethodServerException: No active method context
at wt.method.MethodContext.getContext(MethodContext.java:1725)
at wt.pom.PersistentObjectManager.getPom(PersistentObjectManager.java:289)
at wt.fc.StandardPersistenceManager._query(StandardPersistenceManager.java:1993)
at wt.fc.StandardPersistenceManager._find(StandardPersistenceManager.java:2022)
at wt.fc.StandardPersistenceManager.find(StandardPersistenceManager.java:681)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
at com.sun.proxy.$Proxy9.find(Unknown Source)
What shouild i do to fix this? Or is there more appropriate way to run same task in Windchill?
I expect get java code example.
Thanks.
"open file" dialog in Creo is not updated
"open file" dialog in Creo is not updated
The latest models and drawings from the network drive are not displayed on the Creo Workstation and can’t be opened. The File Explorer in the "open file" dialog in Creo is not updated. Only model versions are loaded, which were present with timestamp before Creo start.
If models are changed and saved and are recalled after deleting the memory, the old version is loaded. The new file version is present on the network drive, is not found from the Creo session.
After restarting the Creo session, all documents from the network drive are displayed and can be opened in Creo.
Infrastructure: windows 7 64Bit + windows10 64Bit Workstation / File Folder: Network LINUX Samba SMB NTFS mapped drive
Symbolics function will not work on Mathcad Prime 3.1
When trying to solve a variable equation, Mathcad Prime 3.1 will not allow me to symbolically solve a specific variable. The attached example shows that it will not solve for x in a simple equation such as "ax+b=0". If anyone has any idea why this is the case, your input would be greatly appreciated.
Thanks
problem with set working directory
hi
i have a problem
i describe problem step by step for understand and help me and others
i make parts in new folder directory
make an assembly and put parts in same directory
when i bring parts from diferent libraries the set working is set in location where i bring part (same problem when i bring a format,table from starting/setup directory )
result is i make disorder in my project
please tell me a solution for working with library
thanks
have a nice day
x-y plot rectangular coordinates
Hi
Newbie to Mathcad Prime, How do I plot a straight line from the origin using complex numbers.
Eg 10+5i complex number.
Straight line between (0,0) and (10,5) using x-y plot.
Any assistance much appreciated.
ptc mathcad prime shortcut for exponential
how to read mobile sensors data in thingworx platform
my android phone was connected in thingworx platform but it was not read the sensors data so please help me
plz any one tell me where from i download the creo 3.0 F000 M060 M070 M080 M090 M100 M110 F000
plz any one tell me where from i download the creo 3.0 F000 M060 M070 M080 M090 M100 M110 | F000 |
Shade what I don't want to, why???
In post-process,I want to shade some component, when I choose that component, it works,but it also shade what I don't want to, attached is a video I've made,anyone can give me some advices? Thanks is the advance for it.
Creo 3 will install, but not launch
I've got a problem with Creo 3 Academic version. We have PCs that have been running Creo 2, and tried to install Creo 3 over the top. Creo 3 seems to install with no errors, however the program will not launch.
I've uninstalled all of Creo 2 and 3, deleted the Program Files and ProgramData directories, as well as the HKLM/Software/PTC registry key. Following that and a restart, I've tried reinstalling Creo 3, again installed with no errors, however the program will still not launch, and doesn't throw up an error message, or log anything in the event log.
Using the same installation files on a clean PC (i.e. never had Creo installed), the software launches successfully.
Any hints as to why the program fails to launch, or are there some other hidden files I need to delete first?
Thanks in advance
Control text size in MBD?
Is there a way to control text size in MBD? Especially frustrating with a family table that has small and large parts. Appears Creo defaults to a text size dependent on the model size.
Is there a way to add another workflow the list of workflows in the right click new menu?
coincidence in ansambly as default
hy
creo have a ruls and logical for constraint in ansembly
i work for 'a project" named "minimize the mouse click"
the general constraint i use is coincident and distance but freqvently coincidence
how make this default
any solution and idea is welcome
tks people
Can i add a new attachment to an object without checking out and checking back in?
I have a requirement where I need to add new attachments to a WTObject but cannot change their iteration.
Can someone help me how to achieve this.
Can a lab license server be 2008 R2 or 2012 R2?
We just received a Lab License for our School and I attempted to install it on a Server 2008 R2 or 2012 R2 Server but the installer would not accept the license key. Is there more detailed documentation for an installation of this type.
Thanks.