Applying Inline Transformation

Hello,
I have a custom XSL which generates a CSV out of XML in a specific format. If I use it in BLS and save the file on hard drive, it works fine but it never works if i apply it for a query as an Inline transformation. There is no error thrown also. The output of Inline transformation is always as if i have not applied the transformation at all. There is no input parameter required by XSL.
If i apply it on a static XML using "xml-stylesheet" then also it works fine.
Is there any change in XSL to make it work as an Inline Transformation?
Regards,
Yogendra Sharma

Hi,
    You can not transform XML output of Query Templates to CSV by Inline Transformation.
but you can test by this URL.
http://<servername>/Lighthammer/Illuminator/IllumXSLTServlet?URL=<XML doc OR URL reference>&Transform=<XSLReference>
Cheers
Dhanabal T
Edited by: Dhanabal Thangavel on Feb 22, 2008 7:14 AM

Similar Messages

  • GenericSortFilter.xsl unable to filter data in inline transformation.

    Hi,
        I am working on MII 12.0
        I need to filter an xml output of transaction. So I am using the inline transformation.
        I am passing filter column name, filter column value, filter exp and filter type.
        But the data is not getting filtered.
        When I am applying inline transformation for sorting, the data is getting sorted.
        When I apply generic sort filter action block in transaction to filter the data, itu2019s getting     filtered.
        Need help on this.
    Thanks
    Vishal Jadhav

    Hi,
        We can use generic sort filter in BLS.
        But MII has provided XLS transformation facility.
      I checked the xsl file used in genericsortfilter case.
      A code fragment is below
    <xsl:when test="$FilterType = 'lt'">
                                                 <xsl:choose>
                                                      <xsl:when test="$TestValue &lt; $FilterValue">Y</xsl:when>
                                                      <xsl:otherwise>N</xsl:otherwise>
                                                 </xsl:choose>          
    As you can see , instead of checking the FilterExp , it is checking the FilterType.
    That's where the problem lies.
    I made the necessary changes and now its working fine through the XSL transformation.
    Regards,
    Vishal Jadhav

  • Inline transform for Sql Query not working in SAP MII 12.1 Version 12.1.8 B

    Hi All,
    I applied an xslt for an sql query which returns an xml file.
    I used inline transform icon in sql query to load an xsl file which has to return me a string
    Any idea why is not working for me..?
    My Sample XML file:
                                     <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="/XMII/CM/BatchDisposition/BatchQueueManagement/StyleSheets/ProductXsl.xsl"?>
    <Rowsets DateCreated="2011-05-05T07:27:45" EndDate="2011-05-05T07:27:45" StartDate="2011-05-05T06:27:45" Version="12.1.8 Build(20)">
         <Rowset>
              <Columns>
                   <Column Description="ProductName" MaxRange="1" MinRange="0" Name="ProductName" SQLDataType="12" SourceColumn="ProductName"/>
              </Columns>
              <Row>
                   <ProductName>Asprin 100mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row>
                   <ProductName>Asprin 300mg Tablets 12 x10 strip</ProductName>
              </Row>
              <Row><ProductName>Ibprooven 200mg Tablets 12 x 10 strip</ProductName></Row>
              <Row><ProductName>RipTide 50mg Tablets 40 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 200mg Tablets 6 x10 strip</ProductName></Row>
              <Row><ProductName>Seroquel 400mg Tablets 12 x10 strip</ProductName></Row>
         </Rowset>
    </Rowsets>
    My Sample XSl File:
                                    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
         <xsl:text>["</xsl:text>
         <xsl:for-each select="Rowsets/Rowset/Row">
              <xsl:value-of select="ProductName"/>
              <xsl:if test="position() &lt; last()">
                   <xsl:text>","</xsl:text>
                    </xsl:if>
              <xsl:if test="position()=last()">
                           <xsl:text>"]</xsl:text>
                    </xsl:if>
         </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Any Suggestions  are Welcome:
    Thanks

    Something like this should work...
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:template match="/">
              <Rowsets DateCreated="{Rowsets/@DateCreated}" Version="{Rowsets/@Version}" StartDate="{Rowsets/@StartDate}" EndDate="{Rowsets/@EndDate}">
                   <xsl:copy-of select="/Rowsets/FatalError"/>
                   <xsl:copy-of select="/Rowsets/Messages"/>
                   <Rowset>
                   <Columns>
                        <Column Description="Mycol1" MaxRange="1" MinRange="0" Name="Mycol1" SQLDataType="12" SourceColumn="Mycol1" />
                   </Columns>
                   <Row>
                   <Mycol1>
                   <xsl:text>["</xsl:text>
                        <xsl:for-each select="/Rowsets/Rowset/Row">
                             <xsl:value-of select="." />
                             <xsl:choose>
                                  <xsl:when test="position() &lt; last()"><xsl:text>","</xsl:text></xsl:when>
                                  <xsl:otherwise><xsl:text>"]</xsl:text></xsl:otherwise>
                             </xsl:choose>
                        </xsl:for-each>
                   </Mycol1>
                   </Row>
                   </Rowset>
              </Rowsets>
         </xsl:template>
    </xsl:stylesheet>

  • Date format in Apply SQL Transformation

    I'm trying to read data from an Azure SQL database to an ML Studio experiment and do a SQL transformation on it. 
    The data has a DateTime column in the following format: YYYY-MM-DDTHH:MM:SS.SSS, but as it gets passed to the Apply SQL Transformation module it somehow changes into the 12-hour format: DD/MM/YYYY HH:MM:SSAM/PM
    This means that I cannot use the strftime()-function in the SQL module. Any way to get around this?

    We're working on fixing the DateTime handling in SQL module. Meanwhile you can try the following workaround:
    1) Before using Apply SQL module, convert dates into strings with format “yyyy-mm-dd” that SQLite can parse.
    2) Use SQLite date() function to convert those strings back to dates
    The step 1) can be accomplished using Execute Python module (here “DateTime” is the name of column with dates), for example:
    import datetime as dt
    import pandas as pd
    def azureml_main(dataframe1 = None, dataframe2 = None):
        c= dataframe1['DateTime']
        cs = []
        for elem in c:
            cs.append(str(dt.date.fromtimestamp(elem)))
        return pd.DataFrame({"DateTime":cs}),
    The SQL script in step 2 would look like, for example:
    select * from t1 where date(t1."DateTime") < "2005-07-25" ;

  • Configuring toplink.weaving="static": Cannot apply class transformer?

    All,
    I have managed to successfully run TopLink Essentials build 2.0_49 in JTA mode from within the web container of Sun Java System Application Server 8.1EE by providing appropriate implementations for ServerPlatform and TransactionController as described in Wonseok Kim's blog entry at:
    http://jroller.com/page/guruwons?entry=use_glassfish_java_persistence_provider
    My issue now is that - as I cannot use dynamic weaving based on the agent in this environment - I would like to configure static weaving.
    Using no weaving at all, my application deploys and runs fine, but when changing
    <property name="toplink.weaving" value="false" /> to
    <property name="toplink.weaving" value="static" />I receive the following exception and stack trace:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cannot apply class transformer without LoadTimeWeaver specified
    Caused by: java.lang.IllegalStateException: Cannot apply class transformer without LoadTimeWeaver specified
            at org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo.addTransformer(SpringPersistenceUnitInfo.java:67)
            at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:208)
            at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:218)
            at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:251)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
            at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
            at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
            at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
            at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
            at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
            at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4010)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:811)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:646)
            at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1322)
            at com.sun.enterprise.web.HttpServiceWebContainer.loadWebModule(HttpServiceWebContainer.java:880)
            at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1038)
            at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
            at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:246)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
            at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
            at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
            at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
            at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
            at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
            at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:639)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
            at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
            at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
            at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
            at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
            at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
            at $Proxy1.invoke(Unknown Source)
            at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
            at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
            at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
            at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
            at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:264)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:178)
            at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:178)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
            at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:234)
            at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2143) My expectation was that when toplink.weaving is set to "static",
    EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:208)should not call back into PersistenceUnitInfo to add a transformer, as none is needed at runtime any more...
    Is this an issue with Spring's JPA module or with TopLink Essentials?
    Thanks in advance & best regards,
    Andreas

    Citing from a mail by Tom Ware/Oracle:
    "There is likely a bug in the static weaving code that attempts to add the transformer even though it will not be used. The reason we have not discovered this issue until now is that in most situations the fact that that transformer gets added despite the fact that we are statically weaving just gets ignored and the application functions. In Spring, apparently that is not the case."
    So I have just created
    https://glassfish.dev.java.net/issues/show_bug.cgi?id=3146
    for this.issue.
    Thanks for your help with this, Tom!
    Best regards,
    Andreas

  • JavaFX - applying rotation transformation - preserving transformation state before changing rotation parameters

    Hi folks, let me ask you for a help with my animation experiments.
    case:
    - ball (sphere) is moving and rotating in one direction around RotationAxis1. Rotate transform is set on the object, rotating ball by setting rotation.setAngle(angle1)
    - ball hits a wall
    - rotation axes changes, now the ball rotates around RotationAxis2, new rotation for this axis starts at angle2=0
    issue:
    what i basically need is to preserve (save/apply) rotation transformation to the object, before changing axis and angle to new values, otherwise I am getting ugly change in the object rotation
    If there would be object.rotateBy() and it would preserve it's state, I would not have such problem, as I could call
    object.rotateBy(angle); object.setRotationAxis(...), object.rotateBy(newAngle);
    Following piece of code works for me, it preserves current rotation state, just as it would keep creating new objects and adding transformations, this can't really be used in a real scenario:
            getTransforms().add(rotate);
        private void resetRotation() {
            rotate = new Rotate(0, 0, 0, 0, new Point3D( motion.dy, -motion.dx, 0));
            getTransforms().add(rotate); //keeps current rotation state and starts a new rotation
            //TODO: IT WORKS BUT IT WOULD CASE MEMORY AND PERFORMANCE LEAK  - FIX IS NEEDED!
    what I am looking for is something like:
        private void resetRotation() {
            getTransforms().remove(rotate);
            applyTransformation(rotate);     //can not find anything like this
            rotate = new Rotate(0, 0, 0, 0, new Point3D( motion.dy, -motion.dx, 0));
            getTransforms().add(rotate); //keeps current rotation state and starts a new rotation
    Any hint ?
    Thanks!

    Use a concatenation:Rotate (JavaFX 8.0)

  • How To Apply Similar Transformation Of One Layer To Another Without Duplicating?

    Hey there guys,
    This is my first post.
    I'm also new to Adobe Photoshop as well . I have a sample 3d eCover and I want to fit an image over the front part. However, I'm having a hard time transformating my image to perfectly the front layer. Is there any option to apply the same transformation of my front cover layer to my image?
    Additional infos:
    1. The front cover layer of the 3D eCover is not yet merged with the other layers. So, I can still edit it.
    2. I'm using Adobe Photoshop CS6.
    Thank you.

    Convert the untransformed image layer (or a duplicate of it) to Smart Object then use Edit > Transform > Distort to align the SO with the sample.
    The SO is not necessary but it has several benefits:
    Multiple transform sessions will not increasingly degrade the appearance.
    Each time you initiate a transform session, handles will be attached to the corners and edges of the SO instead of an axis-aligned bounding rectangle.
    It can be a template into which you load alternative images to instantly transform them.

  • JRE 5.0.10 - Applying a transform fails

    Hi,
    I've been trying to install JRE 5.0.10 (32bit Windows) with a transform to remove certain properties, specifically JAVAUPDATE, AUTOUPDATE, JU and WEBSTARTICON, for a corporate release. I've created the transform in ORCA and applied it with logging enabled - these indicate that the transform is being read correctly, but the end result always has the above properties set to 1 in the registry. I've even recompiled the .MSI in Installshield with the properties zeroed, with the same results. Can someone tell me what I'm missing?
    Cheers
    Nick

    Hi Nick,
    I'm experiencing the same issue. I posted a question at AppDeploy (see http://www.appdeploy.com/messageboards/tm.asp?m=22797). If/when I get a solution, I'll post it here.

  • How to scale animation? (or apply scale transforms?)

    Hi,
    I made a flash game in 640x480 pixels resolution with lots of skeletal animation and bitmap-graphics. Now I want to recreate the very same game for 1024x768. Graphicwise this is no problem, since I've drawn the graphics in a much higher resolution anyway. But I have problems figuring out how to scale all the animations (tweens) I did in the Flash IDE. Needless to say I can scale each MovieClip to 160%, so they have the right size. But then the MovieClips graphical pieces look pixelated, so I would like to replace those pieces with their higher resoluted equivalents. However, if I do so the higher-resoluted-equivalents are, of course, in turn scaled to 160% as well, so they end up far too big. What I am looking for at this point is a way to apply the scale to the MovieClip as well as its contents. Is there a way to do this? And if not, how would you go at scaling animations / tweens to higher resolutions inside the Flash IDE?
    Or do I have to recreate all animations? (That would be a lot)
    By the way, the animations are to be read by the DragonBones-plugin directly inside the Flash IDE (it creates a texture-atlas and xml-files out of the movieclips), so affecting things with Actionscript is no option.
    Best regards

    I also would recommend using a tool like the above mentioned. The process will otherwise require exactly what you don't want to do, replace each piece individually with adjustments.
    There is some JSFL code that can help here but honestly learning a new language just to solve this one short case issue isn't really advisable.
    It might be a good time to consider Stage3D however. While this is an even larger leap than re-importing and aligning all assets, the performance boost would be so amazing it would be well worth your time. 2D sponsored engines like Starling have a texture scale during import that can help here as it seems based on your desired resolution that mobile is or may be important.

  • How do you apply the same transformation to multiple layers?

    I've been using PS for years and never had to do this before.
    I have a 3D image of a tradeshow exhibit and I want to drop in a lot of different mocks for backgrounds. The 3D is in a slight perspective and I need to transform all the mocks to fit that space.
    So how do I link my backgrounds and apply the same "skew" or free transform to all of the layers?
    PS version CC 14.2.1 x64

    What exactly am I alt+dragging?
    My mistake.  I was thinking about filters and alt-dragging them to a new layer.  For a transform, you most likely will want to make one master SO, apply the transformation, then make duplicates via copy from the layer flyout menu.  Then you can replace the content with the other layers.

  • Acrobat 8 Standard will not apply transform file during installation

    I also posted this in the Acrobat form before I noticed this Enterprise Installation forum.
    I am using the Adobe 8 customization wizard to create an MST file for Acrobat 8 Standard. The MST file disables automatic updates, Acrobat Connect and several other items, however, when I run the install with the transform, none of the changes in the MST are applied. I am using the following command inside a batch file:
    msiexec /i acrostan.msi TRANSFORMS=ACROSTAN.MST /qb
    I am using the Standard files downloaded from Adobe's secure site, which were then unzipped and used with the customization wizard. I did not create an administrative installation point, as that earlier attempt also resulted in not applying the transform.
    I believe the transform file is correct, as I found the above command will work the second time I try to install Standard, but does not work the first time Standard is installed using the MST file.

    can you post your transform somewhere? take out the serial number before posting. You might also want to create an install log.

  • Apply same Perspective transform to multiple images ?

    Hi guys ... I have a set of images, and I want to apply the same Perspective Transform to all the images. Note that all images have the exact same size, meaning that after apply the same Perspective Transform, they should all still have the exact same size.
    For example, here is the transform I want:
    From this:
    To this:
    Problem is that when I manually apply the transform to each image individually, they don't have the *exact* same size afterwards.
    Isn't there a way that I can just apply the transform to one image, and then that transform is applied on the other images ? I think I can use the Smart Object functionality here, but I don't have any experience on that.

    Hi,
    Recording an action might work if the images are the same pixel dimensions.
    more about actions:
    http://blog.epicedits.com/2008/03/07/how-to-create-photoshop-actions/
    http://morris-photographics.com/photoshop/tutorials/actions.html
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7448a.h tml

  • Applying Transform Matrix

    I am applying a transform matrix to a UIComponent. The width
    of the object changes appropriately when displayed; however, the
    width property on the component is 0. Does anyone know why the
    width property is not updated? Is the only way to retrieve the
    actual width through the transform matrix? I used the following
    code snippet.
    Thanks for any input!
    -Kris
    var comp:UIComponent = new UIComponent();
    comp.graphics.lineStyle(3);
    comp.graphics.drawRect(0,0,200,200);
    this.addChild(comp);
    trace("width before applying matrix = " + comp.width); //
    width = 0
    var matrix:Matrix = new Matrix();
    matrix.a = 2;
    comp.transform.matrix = matrix;
    trace("width after applying matrix = " + comp.width); //
    width still = 0 Why not 400?

    I think we need to set the dimensions of the UIComponent as well. Check whether the code below works
    var comp:UIComponent = new UIComponent();
    comp.graphics.lineStyle(3);
    comp.graphics.drawRect(0,0,200,200);
    comp.width = 200;
    comp.height = 200;
    this.addChild(comp);
    trace("width before applying matrix = " + comp.width); // width = 200
    var matrix:Matrix = new Matrix();
    matrix.a = 2;
    comp.transform.matrix = matrix;
    trace("width after applying matrix = " + comp.width); // width still = 200

  • Can a transform effect be applied with applescript

    I want to write a script for Illustrator that will apply a step and repeat as a transform effect based on the dimensions of the artboard. I've figured out how to get the dimensions of the artboard, but I'm at a loss as to how to apply a transform effect with a script. It looks like it might be in the Matrix suite, but none of the descriptions there make much sense to me.

    The reason I thought of a script is because it would allow me to create logic that would work on multiple repeat sizes. The files I'm working with use all different repeats. I've been using actions and styles to streamline, so this script is kind of a next step from that.

  • How to 'apply' transformations?

    I like to create new boxes by copying existing ones in the right color/style. You can then rotate and transform them, all fine.
    The problem is that after rotating, the width and height values do no longer correspond to the visual width and height.
    Is there a way to somehow 'apply' the transformations and make the values correspond to the visually perceived width and height?

    It's an interesting question, for sure.
    I can imagine a workspace that would behave the way you want, but it'd have to be very limited in the freedom you had to manipulate objects. Or, maybe, what you'd like is a "naturalize" button that would remove the degrees of rotation and change the height & width fields to report accurate-according-to-Cartesian-plane-mapped-onto-paper sizes.

Maybe you are looking for

  • Record level lock on SAP ABAP table editing

    Hello All, I have a requirement wherein I need to give users ability to be able to update contents of a table. Currently, there are using maintenance view on the table for adding/editing contents of this table. However, this prevents other users from

  • How do I save songs in the Automatically Add to iTunes folder

    How do I save songs in the Automatically Add to iTunes folder?  Is this done via settings somehow? Stated another way......songs recently added to my music folders in the iTunes libary are not updated in the media library automatically.  How do I sav

  • One Step DVD

    I am new to using this program. I followed the instructions and copied the movie from camera to computer for one step DVD. The computer burned the disc and it then played only part of the movie and with three repeats. It either did not copy all of th

  • Problem displaying arabic text in xml document

    Hi .. I have an xml type coloum where i store an xml document that contains some arabic texts with UTF-8 encoding, m using an xsl file to transform the xml and display it in an html page. At the database level when i select the xml col to dispaly the

  • Validation of select-option in module pool

    Hi experts, I want to make a check according to a field on my dynpro 100. The dynpro has a subscreen area and there is a select-option which I want to check (so_matnr). According to the check I want to update my table control on the same dnypro. How