Sei sulla pagina 1di 12

PTC Creo Parametric 3.

0
Web .L in k Re le as e N ote s
Datecode M020

Copyright 2014 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved.
User and training guides and related documentation from PTC Inc. and its subsidiary companies (collectively
"PTC") are subject to the copyright laws of the United States and other countries and are provided under a
license agreement that restricts copying, disclosure, and use of such documentation. PTC hereby grants to the
licensed software user the right to make copies in printed form of this documentation if provided on software
media, but only for internal/personal use and in accordance with the license agreement under which the
applicable software is licensed. Any copy made shall include the PTC copyright notice and any other
proprietary notice provided by PTC. Training materials may not be copied without the express written consent
of PTC. This documentation may not be disclosed, transferred, modified, or reduced to any form, including
electronic media, or transmitted or made publicly available by any means without the prior written consent of
PTC and no authorization is granted to make copies for such purposes.
Information described herein is furnished for general information only, is subject to change without notice,
and should not be construed as a warranty or commitment by PTC. PTC assumes no responsibility or liability
for any errors or inaccuracies that may appear in this document.
The software described in this document is provided under written license agreement, contains valuable trade
secrets and proprietary information, and is protected by the copyright laws of the United States and other
countries. It may not be copied or distributed in any form or medium, disclosed to third parties, or used in any
manner not provided for in the software licenses agreement except with written prior approval from PTC.
UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT IN CIVIL
DAMAGES AND CRIMINAL PROSECUTION. PTC regards software piracy as the crime it is, and we view
offenders accordingly. We do not tolerate the piracy of PTC software products, and we pursue (both civilly
and criminally) those who do so using all legal means available, including public and private surveillance
resources. As part of these efforts, PTC uses data monitoring and scouring technologies to obtain and transmit
data on users of illegal copies of our software. This data collection is not performed on users of legally
licensed software from PTC and its authorized distributors. If you are using an illegal copy of our software
and do not consent to the collection and transmission of such data (including to the United States), cease
using the illegal version, and contact PTC to obtain a legally licensed copy.
I m p o r t a n t C o p y r i g h t , Tr a d e m a r k , P a t e n t , a n d L i c e n s i n g I n f o r m a t i o n : See the About Box, or copyright
notice, of your PTC software.

U N I T E D S TAT E S G O V E R N M E N T R E S T R I C T E D R I G H T S L E G E N D
This document and the software described herein are Commercial Computer Documentation and Software,
pursuant to FAR 12.212(a)-(b) (OCT95) or DFARS 227.7202-1(a) and 227.7202-3(a) (JUN95), and are
provided to the US Government under a limited commercial license only. For procurements predating the
above clauses, use, duplication, or disclosure by the Government is subject to the restrictions set forth in
subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software Clause at DFARS 252.2277013 (OCT88) or Commercial Computer Software-Restricted Rights at FAR 52.227-19(c)(1)-(2) (JUN87),
as applicable. 01012014
PTC Inc., 140 Kendrick Street, Needham, MA 02494 USA

Contents

About This Guide ........................................................................................................5


Summary of Technical Changes ...................................................................................7
Critical Technical Changes ....................................................................................8
Miscellaneous Technical Changes ....................................................................... 11

About This Guide

This document provides release-specific information for Web.Link for PTC Creo
Parametric 3.0. It describes new methods and properties in Web.Link and also
includes critical functions that require investigation of existing applications and
adjustment of existing code.

Do cu me n t a t i o n f o r We b . L i n k
Web.Link documentation comes in the following forms:

API Wizard in HTML format

Web.Link Users Guide in PDF format

R e f e r e n c e D o c u m e n t s page at http://www.ptc.com/appserver/cs/doc/refdoc.
jsp
(Choose the product or document type)

The API Wizard and the Web.Link Users Guide are on the PTC Creo Parametric
DVD-ROM. You can view the API Wizard with your Internet browser. To view
and print the PDF book, you must have Acrobat Reader installed. PTC welcomes
your suggestions and comments on its documentation. Send comments
electronically to:
MCAD-documentation@ptc.com

1
S u m m a r y o f Te c h n i c a l C h a n g e s
Critical Technical Changes ...........................................................................................8
Miscellaneous Technical Changes .............................................................................. 11

This chapter describes the critical and miscellaneous technical changes in PTC
Creo Parametric 3.0 and Web.Link. It also lists the new and superseded functions
for this release.

C r i t i c a l Te c h n i c a l C h a n g e s
This section describes the changes in PTC Creo Parametric 3.0 and Web.Link that
might require alteration of existing Web.Link applications.

API Wiz ar d Ava il abl e o n P TC.c om


The latest version of Web.Link APIWizard is available at www.ptc.com/support/
apiwizard.htm.

N o n - A p p l e t B a s e d Ve r s i o n o f t h e A P I W i z a r d
To open the non-applet based version of the Web.Link APIWizard, point your
browser to:
<creo_weblink_loadpoint>\weblinkdoc\api\index.html

C h a n g e i n B e h a v i o r o f p f c S e r v e r. I s O b j e c t M o d i f i e d
From Creo Parametric 2.0 M040 onward, the behavior of the method
pfcServer.IsObjectModified has been fixed. The method now returns
the value false to indicate one of the following statuses for the specified object:

the object was only saved, but never uploaded


the object was only uploaded, but never checked in

C h a n g e i n B e h a v i o r o f p f c Ta b l e .
CheckIfIsFromFormat()
The method pfcTable.CheckIfIsFromFormat() did not correctly check
if the drawing table was created using the drawing format. The method would
return false, if the first segment of the table was not on the current sheet in the
Creo Parametric user interface, even though the table was created using the
drawing format. This behavior has been fixed in Creo Parametric 2.0 M120. The
method now checks and returns the correct boolean value.
As in the previous releases, the method
pfcTable.CheckIfIsFromFormat() ignores the value provided in the
input argument SheetNumber.

PTC Creo Parametric 3.0 Web.Link Release Notes

Change in Directory Structure for PTC Creo


Installation
From PTC Creo 3.0 onward, the directory structure for PTC Creo installation has
changed from:

<creo_loadpoint>\Parametric to <creo_loadpoint>\
<datecode>\Parametric.
<creo_loadpoint>\Common Files\<datecode> to <creo_
loadpoint>\<datecode>\Common Files

C h a n g e i n I n t e g e r Va l u e s f o r E n u m e r a t e d D a t a Ty p e
p f c C o m p o n e n t Ty p e
The integer values for enumerated data type pfcComponentType were shifted
by 1 and did not reflect the actual values. From Creo Parametric 2.0 2.0, M120
onward, this behavior has been fixed. If your application code uses these values,
you must rebuild your application.

Digital Rights Management Retired


From PTC Creo Parametric 3.0 onward, Digital Rights Management (DRM) is no
longer supported. Web.Link applications that check the DRM permissions will
have to be updated.

D o c u m e n t a t i o n U p d a t e d f o r p f c S e r v e r.
IsObjectModified()
The documentation for the method pfcServer.IsObjectModified() has
been updated in PTC Creo 3.0 M010. This method returns true if the object was
modified locally.

L a y o u t M o d e l Ty p e
From PTC Creo 3.0 M010 onward, the enumerated type pfcModelType
contains an additional value MDL_CE_SOLID that represents models of type
Layout. Web.Link methods will only be able to read models of type Layout, but
will not be able to pass Layout models as input to other methods. To work with
Layout models, you must rebuild your existing Web.Link applications.

Summary of Technical Changes

N o S u p p o r t f o r B o u n d a r y B o x Ty p e o f S i m p l i f i e d
Representation
From PTC Creo Parametric 3.0 onward, the boundary box type of representation
specified by the following values are no longer supported:

SIMPREP_BOUNDBOX_REP in the enumerated data type


pfcSimpRepType
SIMPREP_BOUNDBOX in the enumerated data type
pfcSimpRepActionType

U t i l i t i e s t h a t R e c o g n i z e t h e Ty p e o f B r o w s e r
The code for the following utilities, which recognize the type of browser, is not
shipped by PTC:

pfcIsWindows for Internet Explorer


pfcIsMozilla for Mozilla
pfcIsChrome for Chromium

If you always use a certain type of browser, for example Internet Explorer, you do
not need to use these utilities, and calls to them should be removed. If you need to
recognize the browser type, you have to reimplement the utilities. Please refer to
the browser supplier documentation for more information.

Retrieving Solids in a PTC Creo Parametric Session


Linked to PTC Windchill
You must retrieve solid models in a PTC Creo Parametric session, which is linked
to PTC Windchill, only after you create a new workspace. If you retrieve the
models before creating the workspace, the models would be erased from the PTC
Creo Parametric session.

Support for Constraint Creation Methods


You cannot create constraints using the Web.Link applications. The following
methods are not supported. These methods will be supported in a future release:

10

pfcDatumPlaneThroughConstraint.Create()
pfcDatumPlaneNormalConstraint.Create()
pfcDatumPlaneParallelConstraint.Create()
pfcDatumPlaneTangentConstraint.Create()
pfcDatumPlaneOffsetConstraint.Create()
pfcDatumPlaneOffsetCoordSysConstraint.Create()

PTC Creo Parametric 3.0 Web.Link Release Notes

pfcDatumPlaneAngleConstraint.Create()
pfcDatumPlaneSectionConstraint.Create()
pfcDatumPlaneDefaultXConstraint.Create()
pfcDatumPlaneDefaultYConstraint.Create()
pfcDatumPlaneDefaultZConstraint.Create()
pfcDatumAxisConstraint.Create()
pfcDatumAxisDimensionConstraint.Create()
pfcDatumPointPlacementConstraint.Create()
pfcDatumPointDimensionConstraint.Create()
pfcDatumCsysOriginConstraint.Create()
pfcDatumCsysOrientMoveConstraint.Create()
pfcDatumCsysDimensionConstraint.Create()

Support for Feature Subclasses


From PTC Creo Parametric 3.0 onward, only the following subclasses of the class
pfcFeature are supported:

pfcComponentFeat
pfcCoordSysFeat
pfcCurveFeat
pfcDatumAxisFeat
pfcDatumPlaneFeat
pfcDatumPointFeat
pfcRoundFeat

If your applications check the type of feature using the type of class, then you
must update your existing code to use the method pfcFeature.FeatType.
The method pfcFeature.FeatType returns the type of feature.

Support for Multi-CAD Assemblies


Multi-CAD assemblies are not supported in Web.Link. Refer to the respective
user's guide for information on multi-CAD assemblies.

M i s c e l l a n e o u s Te c h n i c a l C h a n g e s
The following changes in PTC Creo Parametric 3.0 can affect the functional
behavior of Web.Link. PTC does not anticipate that these changes cause critical
issues with existing Web.Link applications.

Summary of Technical Changes

11

Configuration Flag to Include Annotations During


Export of PTC Creo Parametric Models
From PTC Creo Parametric 3.0 onward, a new configuration flag EXPORT_
INCLUDE_ANNOTATIONS has been added. The flag includes annotations during
the export of PTC Creo Parametric model to the specified format.

Di s p l a y S t y l e f o r Vi e w s
From PTC Creo Parametric 3.0 M010 onward, a new display type DISPSTYLE_
SHADED_WITH_EDGES has been added to the enumerated data type
pfcDisplayStyle. This option allows you to display the model as a shaded
solid along with its edges.

12

PTC Creo Parametric 3.0 Web.Link Release Notes

Potrebbero piacerti anche