Getting element mass in Abaqus postprocessor - abaqus

I want to hide all elements in my model with mass less than a value. Is it possible?
I found only way to see mass of elements by creating set for each element in History Output, but it sounds stupid because the number of elements.
Is there any way to do it?

You can create a display group based on the currently displayed field output variable. Element mass isn't available, but element volume is. (you have to request EVOL as an output before running the analysis). you should already know the density.
You should display the elements above your threshold volume. Then create a display group by selecting the elements currently visible in the viewport. This will ensure that you can then plot other field outputs while keeping the same elements displayed.

Related

jsPDF-AutoTable layering and z-index

I've implemented a PDF export of a table that has images in the first column. I use the createdCell callback to determine the (x,y) coordinates of the cell and then use doc.addImage() to render the image at the appropriate place.
The problem I have is that the images are actually behind the rendered table if I render them to the correct coordinates. If I shift the x-coordinate left I can see the images are rendered to the doc.
Does anyone know if there is a way to specify the layer index of objects rendered to the PDF, similar to how z-index property works in CSS?
Or is it possible to change the rendering order so that images are rendered on top?
FYI I was wrong to attempt this using callback, this is possible with addPageContent option.
I did not find any information about depth configuration ("z-index").
However, I know that whenever you add something to the page it is in front of all the items already inserted. As if it were an "incremental z-index".
So answering the question: "how to position one element on top of another" we have three solutions:
Just change the order of which element will be inserted on the page.
Create a loop adding all the necessary information (in this case, the table) and in another loop just create the images.
Invert the loop, for example with [a, b, c] = [c, b, a]. So the elements started to be created from the bottom up on the page (if your problem is a conflict between the loops). This case is more boring, more confusing and more difficult, but it may be the solution.

How the get the parent element of a FCE in Fluid Powered TYPO3

Is there a possiblity to get the parent element of the current element.
Fx: I have a two column FCE and in this two column FCE I will place a custom image element. For performance reasones I would like to render the image only as big as necessary. If the special image elememt is in a two column element the image can be smaller as it must be outside of the two column element.
Until now I did not find a way to solve this problem.
Id of parent record is always stored in {record.tx_flux_parent} - however, you may need to manually transfer the {record} variable since this does not happen automatically.

Word Openxml: how to get a text box the right size?

I'm using PHP to generate docx documents from a database. The generated document contains column charts which have labels attached (i.e. user shapes containing textboxes). In an attempt to get the textboxes to accommodate and display all of the text (i.e. it shouldn't be necessary for the user to resize a textbox to see all the text) my code calculates how many characters will fit into 3cm, adds linefeeds to the string as required and tells me how many lines of text are needed. I have:
<a:xfrm xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
<a:off x="1638276" y="1676399"/>
<a:ext cx="1257325" cy="'.(252000 * $labelLeftLines).'"/>
</a:xfrm>
which I believe should give me a text box around 3.5cm wide (extra .5 for the internal padding) and a height of .7cm multiplied by whatever is the value of $labelLeftLines. However, the text box always turns up as 3.cm wide by .86cm high, which only ever displays one line of text.
If I add in 'autofit':
<a:bodyPr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" vertOverflow="clip" wrap="square" rtlCol="0">
<a:spAutoFit/>
</a:bodyPr>
the generated file looks just the same, though, when I right click on the textbox to inspect the properties, 'autofit' is indeed applied. I have to uncheck it and recheck it to make it affect the textbox.
Any openXML gurus out there?
Hmm, some random floundering around revealed that the values I need to manipulate are here:
<cdr:relSizeAnchor xmlns:cdr="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing">
<cdr:from>
<cdr:x>0.47</cdr:x>
<cdr:y>0.75</cdr:y>
</cdr:from>
<cdr:to>
<cdr:x>0.67</cdr:x>
<cdr:y>1</cdr:y>
</cdr:to>
Changing those values does actually change the size of the texbox, though I haven't a clue what units are being used. From 0.75 to 1 produces a height of 1.43cm.
One day I'll maybe be able to find my way around the doucmentation.

Getting Polygons to display multiple variables using a stripped color scheme in ArcMap

I am creating a map in which i want a polygon to display two separate variables within it. Therefore I want a stripped polygon relating to both the keys from the separate factors however I have no idea on how to do this. I messed around with multiple attributes on the properties section and could get the two variables up however could see no way of making the polygon display them both.
Thank you, any help would be appreciated
This is partially manual, but you are going to have to make a separate category within one of the fields that identifies the multivariate features. You could also create a new layer that is a selection of these features. Once you have that, go to the layer properties and display the features as 'Categories - Unique values, many fields' and hit the 'Add All Values' button. Once the categories are populated select the one you are interested in and pick a hatched symbol such as 'Radiation Overlay'. Then go to the Symbol Property Editor (double-click the symbol) and modify the two layers that make up the hatched symbol. You need to adjust the color, line thickness, offset, etc. until you get it to look the way you want. Probably not as auto as you wanted, but it will satisfy display purposes.

xforms:select1 using xxforms:tree appearance rendering multiple different instances, how to control depth of rendering/branches?

I am rendering three different instances (itemsets) using xforms:select1 with xxforms:tree appearance. The first instance (itemset) renders fine,the second instance (itemset) renders at a depth level where the last item from the first instance (itemset) was rendered (e.g., at depth level 2 instead of at top level) and so on.
How do I control at what level an itemset gets rendered?
If you are asking about which items are shown in the tree, then the answer is: all the items pointed to by your <xforms:itemset>. If you wish to limit the depth level, then you need to change the nodeset expression accordingly.

Resources